mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-20 05:51:55 +08:00
fix: openai function call
This commit is contained in:
@@ -339,6 +339,7 @@ class AgentStreamExecutor:
|
||||
tool_result_block = {
|
||||
"type": "tool_result",
|
||||
"tool_use_id": tool_call["id"],
|
||||
"name": tool_call["name"], # Add function name for Gemini compatibility
|
||||
"content": result_content
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user