Repository navigation
fix: mark Kimi K3 temperature as unsupported - #3331
Merged
Merged
Conversation
Moonshot fixes K3 sampling server-side (temperature locked at 1.0); passing any other value returns HTTP 400. Correct the base model so all providers inherit temperature=false instead of per-provider overrides.
Contributor
Action items
|
Vercel has no sampling-parameter signal. Hardcoding temperature=true would reassert true on factored models like kimi-k3 whenever sync rewrites the file, undoing base_model temperature=false. Inherit from existing/base instead.
Collaborator
Author
|
Addressed the Vercel sync concern:
|
This was referenced Jul 18, 2026
Kimi K3 works as primary but OpenCode Go rejects subagent requests with 400
anomalyco/opencode#37552
Closed
Contributor
|
No actionable findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
temperature = falseon the Kimi K3 base model (models/moonshotai/kimi-k3.toml)Moonshot locks K3 sampling server-side (
temperaturefixed at1.0). Passing any other value returns HTTP 400; docs say to omit the field. The base model incorrectly advertisedtemperature = true, so every provider inheriting it told clients to send temperature.Why not provider-local overrides
#3328 only patched
providers/opencode-go/models/kimi-k3.toml. That papers over OpenCode Go while leaving moonshotai, llmgateway, vercel, etc. wrong. Same pattern askimi-k2.5/kimi-k2.7-codebase models.Evidence
Validation
bun validatetemperature: falsefor moonshotai, opencode-go, and openrouterkimi-k3