Skip to content

provider: fledge-alpha-free tool-call deltas missing id/name abort the turn #52975

Closed as not planned

Description

@trap879

Description

opencode/fledge-alpha-free returns OpenAI Chat tool-call deltas with no id or function.name, so the turn aborts with Error: OpenAI Chat tool call delta is missing id or name (provider.invalid-output). HTTP status is 200, so this is a malformed stream from the inference gateway, not a transport or auth failure.

The recorded chunk carries finish_reason: "tool_calls" while its delta has no tool_calls array at all:

{"id":"2352e6df92724bb9b6ea77c2651bcc39","object":"chat.completion.chunk","created":1791047735,"model":"fledge-alpha-free","choices":[{"index":0,"finish_reason":"tool_calls","logprobs":null,"delta":{"reasoning_content":null}}]}

provider.invalid-output is not retried, so a single malformed chunk ends the whole turn. 3 of 3 tool-using turns failed for me on 2026-10-03 (sessions ses_efd3c854cffe2hynyFUOGQnOdJ, ses_efd3c8aecffeugK1ak5mrV61RI), then 4 of 4 isolated retries succeeded, so it is intermittent rather than a hard capability gap.

Possibly a duplicate of #52691 and #52700; I have fresh chunk ids if they help.

Plugins

One local plugin file, ~/.config/opencode/plugins/crg-plugin.ts (code-review-graph). No other plugin entries configured.

OpenCode version

2.0.22

Steps to reproduce

1. Select model `opencode/fledge-alpha-free` (or `opencode run --auto -m 'opencode/fledge-alpha-free#max' "..."`).
2. Send a prompt that makes the model call a tool.
3. Intermittently the turn fails with "OpenAI Chat tool call delta is missing id or name". Retry — it may succeed.

Screenshot and/or share link

No share link. Offending chunk is quoted above.

Operating System

macOS, Darwin 27.0.0 arm64

Terminal

Apple Terminal, TERM=xterm-256color

Activity

  1. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Oct 3, 2026
  2. github-actions commented on Oct 3, 2026

    @github-actions
    Contributor

    Thanks for updating the issue with the Bug Report details and useful reproduction and system information!

  3. Tarquinen commented on Oct 20, 2026

    @Tarquinen
    Member

    Thanks for the report! opencode/fledge-alpha-free is no longer offered on OpenCode Zen, so this no longer applies. Closing this issue.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions