mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-02-16 16:25:55 +08:00
fix: claude remove toolname
This commit is contained in:
@@ -353,7 +353,6 @@ 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