Skip to content

Add Muse Spark 1.2 models - #168

Open
Barragek0 wants to merge 4 commits into
ltmoerdani:mainfrom
Barragek0:patch-2
Open

Add Muse Spark 1.2 models#168
Barragek0 wants to merge 4 commits into
ltmoerdani:mainfrom
Barragek0:patch-2

Conversation

@Barragek0

@Barragek0 Barragek0 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

📝 What does this change?

Adds full support for Muse Spark 1.2 models (muse-spark-1.2-contributor on Go, muse-spark-1.2-contributor-free on Zen). Closes #165.

🧪 How did you test it?

Tested with muse-spark-1.2-contributor (Go) and muse-spark-1.2-contributor-free (Zen) - verified chat responses, tool calling, and thinking effort levels (off/high). All 341 unit tests pass, lint is green, VSIX packages cleanly.

✅ Checklist

  • npm run compile passes
  • npm run lint passes
  • npm test passes
  • npm run package produces a VSIX
  • I tested it works
  • I updated docs/CHANGELOG if needed

- Route Muse models to Responses API via new 'muse' registry family
- Add MuseThinking strategy with reasoning.effort payload (off/low/medium/high/xhigh)
- Add fallback metadata for Go and Zen variants (1M context, 131K output)
- Truncate tool names to 64 chars for Muse (Responses API limit)
- Set truncation:disabled for Muse (gateway rejects 'auto')
- Add thinking effort picker and config settings for Muse
- Add MuseThinking payload + display tests in thinking.test.ts
- Add Muse routing and thinking family tests in registry.test.ts
- Add Muse fallback metadata tests in metadata.test.ts
- Add Responses API truncation override tests in responsesRequest.test.ts
- Add tool name truncation tests in new openai-request.test.ts
@Barragek0 Barragek0 changed the title Patch 2 Add Muse Spark 1.2 models Aug 20, 2026
@Barragek0
Barragek0 marked this pull request as ready for review August 20, 2026 13:04
@Barragek0

Barragek0 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Thinking blocks are not appearing, and I'm not sure why. The code all looks correct, so I think it must be an upstream issue with the OpenCode gateway, which isn't relaying reasoning_content in the stream, so the extension has nothing to capture, unless I'm just misunderstanding the codebase, which is probably more likely.

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.

[BUG] Muse Spark 1.2 model not working

1 participant