[data] fix mimo-v2 tool call (#10315)

This commit is contained in:
Hertz
2026-03-26 17:37:22 +08:00
committed by GitHub
parent 97d479fa92
commit 1e536733c6

View File

@@ -361,6 +361,8 @@ class MiniMaxM2ToolUtils(ToolUtils):
prompt += "\n</invoke>"
function_texts.append(prompt)
return "\n".join(function_texts)
@override
@staticmethod
def tool_extractor(content: str) -> Union[str, list["FunctionCall"]]: