You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LLMs occasionally generate malformed/truncated JSON for tool call arguments, resulting in "JSON parsing failed" errors. This issue tracks the fix for this problem.
No issue template was used. Please use one of the three required templates: Bug Report, Feature Request, or Question.
The description lacks required fields: no reproduction steps, no environment/system information, and no details about what was expected vs. what actually happened.
Bug reports should include context on how to reproduce the issue (OpenCode version, provider, model, steps to reproduce, etc.).
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Tool call arguments may contain invalid JSON #17750: Tool call arguments may contain invalid JSON — same root cause (LLM-generated malformed/truncated JSON in tool call arguments, same error message pattern)
Activity
github-actions commentedon Apr 17, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
JSON parsing failederror and proposes retry/repair behaviorIf you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Apr 17, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.