Skip to content

feat(models): add kimi-k2.6 to opencode-zen/go, alibaba, HuggingFace - #13156

Closed
pefontana wants to merge 2 commits into
NousResearch:mainfrom
pefontana:kimi-k2.6
Closed

feat(models): add kimi-k2.6 to opencode-zen/go, alibaba, HuggingFace#13156
pefontana wants to merge 2 commits into
NousResearch:mainfrom
pefontana:kimi-k2.6

Conversation

@pefontana

@pefontana pefontana commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Moonshot's kimi-k2.6 landed on main via #13148 and #13152 for the main aggregator/native catalogs (OpenRouter, Nous, NVIDIA NIM, kimi-coding, kimi-coding-cn, moonshot). This PR fills in the remaining static model lists so the model is also selectable from:

  • opencode-zen
  • opencode-go
  • alibaba (DashScope)
  • huggingface Inference Providers

And pins the HuggingFace variant's context length at 256K in agent/model_metadata.py for parity with Kimi-K2.5.

From a user's point of view: if you're on any of these providers and run hermes model, kimi-k2.6 is now in the list.

Temperature handling is already covered by #13157's OMIT_TEMPERATURE sentinel + _is_kimi_model() prefix check, which matches every kimi-* ID automatically — no per-model changes needed here.

Type of Change

  • ✨ New feature (non-breaking change that adds functionality)

Changes Made

  • hermes_cli/models.py — add kimi-k2.6 to opencode-zen, opencode-go, alibaba, and huggingface provider lists.
  • hermes_cli/setup.py — add kimi-k2.6 to the default-models fallback for opencode-zen, opencode-go, and huggingface.
  • agent/model_metadata.py — pin moonshotai/Kimi-K2.6 context length at 256K.
  • tests/hermes_cli/test_opencode_go_in_model_list.py — include kimi-k2.6 in the exact-list assertion.

How to Test

pytest tests/hermes_cli/test_opencode_go_in_model_list.py tests/agent/test_auxiliary_client.py -q

Then with a real key (e.g. Alibaba DashScope or OpenCode):

hermes model          # kimi-k2.6 now appears in the list

Checklist

  • Conventional Commits
  • No unrelated changes
  • Tested on macOS 15 (Darwin 25.4.0)

PRs NousResearch#13148 and NousResearch#13152 landed kimi-k2.6 on OpenRouter, Nous, NVIDIA NIM,
kimi-coding, kimi-coding-cn, and moonshot. This fills in the remaining
static catalogs (opencode-zen, opencode-go, alibaba, huggingface) plus
the 256K context-length entry for the HuggingFace variant.

Temperature handling is already covered by PR NousResearch#13157's OMIT_TEMPERATURE
sentinel + _is_kimi_model() prefix check, which matches all kimi-* IDs
automatically — no per-model entries needed.
@pefontana pefontana changed the title feat(models): add kimi-k2.6 feat(models): add kimi-k2.6 to opencode-zen/go, alibaba, HuggingFace Apr 20, 2026
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard provider/kimi Kimi / Moonshot labels Apr 22, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Closing as superseded by #13148.

Triage notes (high confidence):
kimi-k2.6 already present in agent/model_metadata.py:240 and hermes_cli/models.py (lines 38,77,168,255,261,270,281,380); merged PRs #13148/#13152/#13429 added kimi-k2.6 across providers.

Thanks for the contribution — the underlying problem this PR addresses has been resolved by the linked PR on current main. If you believe this was closed in error, please comment and we'll reopen.

(Bulk-closed during a CLI PR triage sweep.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have provider/kimi Kimi / Moonshot type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants