Skip to content

v0.2.1

Choose a tag to compare

@JonRoosevelt JonRoosevelt released this 16 Mar 12:02
· 3 commits to main since this release

Bug Fixes

  • 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.