π Muse Spark 1.2 β API 400 Error on Every Request
π What happened?
Muse Spark 1.2 (muse-spark-1.2-contributor) fails on every request with HTTP 400. The API returns an empty assistant response with finish_reason: null, causing the extension to throw OpenCodeRequestError. The model appears to reject the request payload (990KB) without providing a meaningful error message.
π Steps to reproduce
- Set provider to OpenCode Go
- Select model muse-spark-1.2-contributor
- Send any prompt (even a simple one like "hello")
- Request fails immediately with:
Sorry, your request failed. Please try again.
β
What did you expect?
The model should respond with a completion, or return a descriptive error message explaining why the request was rejected (e.g., payload too large, invalid parameters, model unavailable).
π₯οΈ Environment
- Extension version: 0.6.0
- VS Code version: (please fill in β Help β About)
- Provider: OpenCode Go
- Model: muse-spark-1.2-contributor
πΈ Logs or screenshots
Error 1 (user-facing):
Sorry, your request failed. Please try again.
Client Request Id: f84dae2f-0b63-49cd-a545-60aac4b4b2a0
Reason: OpenCode Go API request failed (400) model=muse-spark-1.2-contributor payloadBytes=990778: {"id":"chatcmpl_oikufvx92vl","object":"chat.completion","created":1787146321,"model":"muse-spark-1.2-contributor","choices":[{"index":0,"message":{"role":"assistant"},"finish_reason":null}]}
Error 2 (console):
OpenCode Go API request failed (HTTP 400) for muse-spark-1.2-contributor: {"id":"chatcmpl_oikufvx92vl","object":"chat.completion","created":1787146321,"model":"muse-spark-1.2-contributor","choices":[{"index":0,"message":{"role":"assistant"},"finish_reason":null}]}
Stack trace:
at buildOpenCodeRequestError (c:\Users\Harsh\.vscode\extensions\ltmoerdani.opencode-copilot-chat-0.6.0\out\errors.js:39:12)
at streamOpenCodeResponse (c:\Users\Harsh\.vscode\extensions\ltmoerdani.opencode-copilot-chat-0.6.0\out\streaming.js:360:73)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async streamChatCompletions (c:\Users\Harsh\.vscode\extensions\ltmoerdani.opencode-copilot-chat-0.6.0\out\streaming.js:70:5)
at async OpenCodeProvider.provideLanguageModelChatResponse (c:\Users\Harsh\.vscode\extensions\ltmoerdani.opencode-copilot-chat-0.6.0\out\extension.js:2702:13)
π Muse Spark 1.2 β API 400 Error on Every Request
π What happened?
Muse Spark 1.2 (
muse-spark-1.2-contributor) fails on every request with HTTP 400. The API returns an empty assistant response withfinish_reason: null, causing the extension to throwOpenCodeRequestError. The model appears to reject the request payload (990KB) without providing a meaningful error message.π Steps to reproduce
Sorry, your request failed. Please try again.β What did you expect?
The model should respond with a completion, or return a descriptive error message explaining why the request was rejected (e.g., payload too large, invalid parameters, model unavailable).
π₯οΈ Environment
πΈ Logs or screenshots
Error 1 (user-facing):
Error 2 (console):
Stack trace: