Skip to content

fix(model): route OpenCode Muse models through Responses - #521

Merged
mohitranka merged 1 commit into
mainfrom
fix/opencode-zen-muse-500
Sep 5, 2026
Merged

mohitranka merged 1 commit into
mainfrom
fix/opencode-zen-muse-500

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • route OpenCode Muse Spark Contributor models through /responses
  • reuse the existing Responses request and SSE parser
  • preserve Chat Completions behavior for other OpenCode models

Root cause

OpenCode Go/Zen serves Muse Spark Contributor 1.2/1.3 through the Responses API. Sending the same request to /chat/completions returns HTTP 500; the equivalent /responses request returns 200.

Validation

  • cargo fmt --all -- --check
  • cargo test -p forge-model --all-targets --locked
  • cargo clippy -p forge-model --all-targets --locked -- -D warnings
  • authenticated upstream A/B smoke test: Muse chat 500, Muse Responses 200

@mohitranka
mohitranka merged commit 9424172 into main Sep 5, 2026
4 of 5 checks passed
@mohitranka
mohitranka deleted the fix/opencode-zen-muse-500 branch September 5, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant