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
{{ message }}
Repository navigation
provider: fledge-alpha-free returns finish_reason "tool_calls" without tool_calls delta #52691
When using the fledge-alpha-free model via the built-in opencode provider, chat requests fail with OpenAI Chat tool call delta is missing id or name. The provider returns a final stream chunk with finish_reason: "tool_calls" but the delta contains no tool_calls payload, so the client cannot assemble the tool call.
Per the OpenAI streaming spec, a finish_reason of tool_calls must be preceded by valid tool_calls deltas carrying id/name/arguments. Here those deltas are missing entirely, so the OpenAI-compatible parser aborts.
Plugins
opencode.browser, openchamber-agent-tool
OpenCode version
1.18.33
Steps to reproduce
1. Run `opencode`, select model `opencode/fledge-alpha-free`.
2. Send any prompt where the model attempts a tool call (e.g. ask it to edit a file or use a tool).
3. The request fails with `OpenAI Chat tool call delta is missing id or name`.
Screenshot and/or share link
N/A — error occurs during message send.
Operating System
Windows 11 (Windows_NT 10.0.22000, win32 x64)
Terminal
xterm-256color (OpenChamber desktop app)
Expected behavior
The model either returns valid tool_calls deltas followed by finish_reason: "tool_calls", or returns normal content with a different finish_reason.
Actual behavior
The request errors out with OpenAI Chat tool call delta is missing id or name, and the prompt fails to send.
Additional context
Workaround: switch to another model via /models. Possibly related to #37841 / #36299, but those describe incomplete tool-call deltas in general; this report specifically points at fledge-alpha-free returning finish_reason: "tool_calls" with an empty delta.
Note: this may be related to #37841 and #36299. If maintainers consider it a duplicate, please feel free to close it; the specific trigger here is the fledge-alpha-free model returning finish_reason tool_calls with a completely empty delta.
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.
Activity
xianshi3 commentedon Oct 2, 2026
Note: this may be related to #37841 and #36299. If maintainers consider it a duplicate, please feel free to close it; the specific trigger here is the fledge-alpha-free model returning finish_reason tool_calls with a completely empty delta.
github-actions commentedon Oct 2, 2026
Thanks for updating the issue with the required details. It now meets our issue reporting guidelines.
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊