移除残留的KnowU系统,修复gemini请求的思考签名问题
This commit is contained in:
@@ -315,6 +315,9 @@ class MaiMessages:
|
||||
call_id=str(tool_call.get("call_id", "")),
|
||||
func_name=str(tool_call.get("func_name", "")),
|
||||
args=tool_call.get("args"),
|
||||
extra_content=tool_call.get("extra_content")
|
||||
if isinstance(tool_call.get("extra_content"), dict)
|
||||
else None,
|
||||
)
|
||||
)
|
||||
return deserialized_tool_calls
|
||||
|
||||
Reference in New Issue
Block a user