mirror of
https://github.com/hiyouga/LlamaFactory.git
synced 2026-03-26 20:17:45 +08:00
[data] fix mimo-v2 tool call (#10315)
This commit is contained in:
@@ -361,6 +361,8 @@ class MiniMaxM2ToolUtils(ToolUtils):
|
|||||||
prompt += "\n</invoke>"
|
prompt += "\n</invoke>"
|
||||||
function_texts.append(prompt)
|
function_texts.append(prompt)
|
||||||
|
|
||||||
|
return "\n".join(function_texts)
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def tool_extractor(content: str) -> Union[str, list["FunctionCall"]]:
|
def tool_extractor(content: str) -> Union[str, list["FunctionCall"]]:
|
||||||
|
|||||||
Reference in New Issue
Block a user