GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(opencode): select Kimi prompt by provider by opencode-agent[bot] · Pull Request #42161 · anomalyco/opencode

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 12, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@rekram1-node
fix(opencode): select Kimi prompt by provider
44629b6
@opencode-agent opencode-agent Bot assigned rekram1-node Aug 12, 2026
@github-actions github-actions Bot added the contributor label Aug 12, 2026
@rekram1-node
rekram1-node merged commit 91df883 into dev Aug 12, 2026
13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
rekram1-node deleted the kimi-provider-prompt branch August 12, 2026 22:29
sepo-eng added a commit to Draugur-AI/opencode that referenced this pull request Aug 13, 2026
@sepo-eng @OpeOginni
@opencode-agent @rekram1-node @hoooou @stevenao @MatthewFeroz @skyzhao1223
chore: sync 11 low-risk upstream provider/reliability fixes from anom…
cd0bd27
…alyco/dev (#56)

* fix(ui): correct OC-2 weak icon color (anomalyco#41504)

(cherry picked from commit 3a90639)

* fix(provider): scope DeepSeek V4 Flash sampling defaults (anomalyco#41620)

Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: 侯秀凯 <[email protected]>
(cherry picked from commit 5d95348)

* fix(opencode): detect Copilot PDF input support (anomalyco#41522)

(cherry picked from commit 561afb4)

* fix(opencode): cap session retries with jitter (anomalyco#41939)

(cherry picked from commit c789868)

* fix(provider): add Merge Gateway reasoning variants (anomalyco#41867)

(cherry picked from commit 8571a92)

* docs: fix broken DigitalOcean and Daytona links (anomalyco#42048)

Co-authored-by: skyzhao1223 <[email protected]>
(cherry picked from commit ca3df21)

* docs: fix provider display name and PAT typos (anomalyco#42034)

Co-authored-by: skyzhao1223 <[email protected]>
(cherry picked from commit 959c8bd)

* fix(xai): pass through reasoning effort (anomalyco#42160)

Co-authored-by: Aiden Cline <[email protected]>
(cherry picked from commit 502310f)

* fix(mistral): pass through reasoning effort (anomalyco#42164)

Co-authored-by: Aiden Cline <[email protected]>
(cherry picked from commit beeabe2)

* fix(groq): pass through reasoning effort (anomalyco#42166)

Co-authored-by: Aiden Cline <[email protected]>
(cherry picked from commit 6fea419)

* fix(opencode): select Kimi prompt by provider (anomalyco#42161)

Co-authored-by: Aiden Cline <[email protected]>
(cherry picked from commit 91df883)

---------

Co-authored-by: OpeOginni <[email protected]>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: 侯秀凯 <[email protected]>
Co-authored-by: Steven Ao <[email protected]>
Co-authored-by: Matthew Feroz <[email protected]>
Co-authored-by: SKY ZHAO <[email protected]>
Co-authored-by: skyzhao1223 <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
@github-actions github-actions Bot mentioned this pull request Aug 17, 2026
Informe upstream (semanal) jaminsmoke/Jarvis#52
Open
1056674754 added a commit to 1056674754/opencode that referenced this pull request Aug 31, 2026
@1056674754
chore: merge OpenCode v1.18.18-sscity
acd13c0
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.
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 18, 2026
@opencode-agent @rekram1-node
fix(opencode): select Kimi prompt by provider (anomalyco#42161)
6f1d2fe
Co-authored-by: Aiden Cline <[email protected]>
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 19, 2026
@opencode-agent @rekram1-node
fix(opencode): select Kimi prompt by provider (anomalyco#42161)
21bd759
Co-authored-by: Aiden Cline <[email protected]>
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 19, 2026
@opencode-agent @rekram1-node
fix(opencode): select Kimi prompt by provider (anomalyco#42161)
4d25b92
Co-authored-by: Aiden Cline <[email protected]>
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@opencode-agent @rekram1-node
fix(opencode): select Kimi prompt by provider (anomalyco#42161)
a2e2471
Co-authored-by: Aiden Cline <[email protected]>
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
@opencode-agent @rekram1-node
fix(opencode): select Kimi prompt by provider (anomalyco#42161)
08ebeb7
Co-authored-by: Aiden Cline <[email protected]>
Spark-Liang pushed a commit to Spark-Liang/opencode that referenced this pull request Oct 9, 2026
@opencode-agent @rekram1-node @Spark-Liang
fix(opencode): select Kimi prompt by provider (anomalyco#42161)
c07df91
Co-authored-by: Aiden Cline <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@rekram1-node rekram1-node

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Kimi prompt not applied to kimi-for-coding models k3 / k3-256k (falls back to default)

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rekram1-node
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.