GeezerVison is showing github.com — fix(opencode): select Kimi prompt by provider by opencode-agent[bot] · Pull Request #42161 · anomalyco/opencode
Conversation
Summary
- select the Kimi system prompt for models served by the official Kimi and Moonshot providers
- handle bare model IDs such as
k3 and k3-256k without relying on the model ID containing kimi
- cover provider-based prompt selection with a regression test
Checks
bun test test/session/system.test.ts (packages/opencode)
bun typecheck (packages/opencode; timed out under host contention after 120s)
Requested by: @rekram1-node (Aiden Cline via Slack)
Closes: #42059
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
1056674754
added a commit
to 1056674754/opencode
that referenced
this pull request
Aug 31, 2026
Upstream v1.18.17 (02546df) -> v1.18.18 (31406cc), 7 commits.
Functional changes:
- fix(xai): pass through reasoning effort (anomalyco#42160)
- fix(mistral): pass through reasoning effort (anomalyco#42164)
- fix(groq): pass through reasoning effort (anomalyco#42166)
- fix(opencode): select Kimi prompt by provider (anomalyco#42161)
- chore: update nix node_modules hashes
Conflicts resolved: 29 package.json version bumps (rebranded 1.18.18-sscity),
bun.lock (took upstream, rebranded workspace entries via bun install).
session/system.ts and system.test.ts auto-merged cleanly (fork skills reload
hook plus upstream Kimi provider test); fork GLM/ZhiPu normalization and
retry classification untouched by this upstream range.
rldona
pushed a commit
to plazoleta-dev/FlupCode
that referenced
this pull request
Sep 24, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
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.