mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 22:27:13 +08:00
fix: claude remove toolname
This commit is contained in:
@@ -353,7 +353,6 @@ class AgentStreamExecutor:
|
|||||||
tool_result_block = {
|
tool_result_block = {
|
||||||
"type": "tool_result",
|
"type": "tool_result",
|
||||||
"tool_use_id": tool_call["id"],
|
"tool_use_id": tool_call["id"],
|
||||||
"name": tool_call["name"], # Add function name for Gemini compatibility
|
|
||||||
"content": result_content
|
"content": result_content
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user