tool-call(dsv3): Improve deepseek-v3 chat template and tool_choice = required (#9525)
This commit is contained in:
@@ -215,6 +215,6 @@ class DeepSeekV3Detector(BaseFormatDetector):
|
||||
sequence_start_token=self.bot_token,
|
||||
sequence_end_token=self.eot_token,
|
||||
tool_call_separator="",
|
||||
call_rule_fmt='"<|tool▁call▁begin|>function<|tool▁sep|>{name}\\n```json\\n" {arguments_rule} "\\n```<|tool▁call▁end|>"',
|
||||
call_rule_fmt='"<|tool▁call▁begin|>function<|tool▁sep|>{name}\\n```json\\n"{arguments_rule}"\\n```<|tool▁call▁end|>"',
|
||||
function_format="json",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user