Skip to content

JSON parsing errors in tool call arguments #23065

@ahamza360

Description

@ahamza360

LLMs occasionally generate malformed/truncated JSON for tool call arguments, resulting in "JSON parsing failed" errors. This issue tracks the fix for this problem.

Related PR: #23064

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions