Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool Call Parsing Error: Failed to parse tool_forge_event_dispatch arguments #461

Open
amitksingh1490 opened this issue Mar 5, 2025 · 0 comments

Comments

@amitksingh1490
Copy link
Contributor

amitksingh1490 commented Mar 5, 2025

Issue

I'm randomly encountering errors when making tool calls. The system reports:

Failed to parse tool call: [ToolCallPart { call_id: Some(ToolCallId("toolu_017seav7Ng1vXMKrXdqmRh8b")), name: Some(ToolName("tool_forge_event_dispatch")), arguments_part: "" }, ToolCallPart { call_id: None, name: None, arguments_part: "" }, ToolCallPart { call_id: None, name: None, arguments_part: "{"id": "" }, ToolCallPart { call_id: None, name: None, arguments_part: "time_ret" }, ToolCallPart { call_id: None, name: None, arguments_part: "rieval" }, ToolCallPart { call_id: None, name: None, arguments_part: """ }]
Caused by: Invalid tool call arguments: EOF while parsing an object at line 1 column 23 [tokens 4502/87/4589]

Observed Behavior

  • The error occurs randomly
  • The tool call argument JSON appears to be malformed
  • The string "time_retrieval" seems to be split across multiple argument parts
  • Happening for the Title agent.
@amitksingh1490 amitksingh1490 changed the title [Draft]: Failed to parse tool call Tool Call Parsing Error: Failed to parse tool_forge_event_dispatch arguments Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant