mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-04 08:16:42 +08:00
[Feature] add custom chat template (#3251)
* add custom chat_template * add custom chat_template * add unittest * fix * add docs * fix comment * add offline chat * fix unit test * fix unit test * fix * fix pre commit * fix unit test * add unit test * add unit test * add unit test * fix pre_commit * fix enable_thinking * fix pre commit * fix pre commit * fix unit test * add requirements
This commit is contained in:
@@ -524,6 +524,7 @@ class ChatCompletionRequest(BaseModel):
|
||||
|
||||
# doc: start-completion-extra-params
|
||||
chat_template_kwargs: Optional[dict] = None
|
||||
chat_template: Optional[str] = None
|
||||
reasoning_max_tokens: Optional[int] = None
|
||||
structural_tag: Optional[str] = None
|
||||
guided_json: Optional[Union[str, dict, BaseModel]] = None
|
||||
|
Reference in New Issue
Block a user