fix: claude remove toolname

This commit is contained in:
zhayujie
2026-02-04 22:15:10 +08:00
parent 02c83d8689
commit eec10cb5db

View File

@@ -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
}