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
Fix validation error for assistant messages with tool_calls: The schema was rejecting requests where an assistant message had empty content alongside tool_calls. This is valid OpenAI API behavior and caused 400 INVALID_REQUEST errors in multi-turn conversations involving tool use (e.g. when using the "view subagents" action in OpenCode).
Added raw request body logging on validation failures to aid future debugging.
Both schemas now use .passthrough() so unknown fields (tool_calls, tool_call_id, reasoning_effort, etc.) are forwarded without rejection.