Skip to content

providers: default Moonshot to Kimi 2.6 - #69477

Merged
scoootscooob merged 2 commits into
openclaw:mainfrom
scoootscooob:codex/moonshot-kimi-2-6-default
Apr 20, 2026
Merged

scoootscooob merged 2 commits into
openclaw:mainfrom
scoootscooob:codex/moonshot-kimi-2-6-default

Conversation

@scoootscooob

Copy link
Copy Markdown
Member

Summary

  • Problem: latest origin/main still defaults the bundled Moonshot provider and related selection surfaces to kimi-k2.5, even though Moonshot's current API docs list kimi-k2.6 as the latest multimodal model.
  • Why it matters: onboarding, provider auth selection, web search, and media-understanding defaults continue steering users to the older K2.5 default.
  • What changed: added kimi-k2.6 to the bundled Moonshot catalog, made it the Moonshot default model, and updated the Moonshot/Kimi selection labels plus Kimi web-search and Moonshot media defaults/tests.
  • What did NOT change (scope boundary): this does not remove kimi-k2.5, does not change Kimi Coding's upstream model id, and does not add a live Moonshot API smoke.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor required for the fix
  • Docs
  • Security hardening
  • Chore/infra

Scope (select all touched areas)

  • Gateway / orchestration
  • Skills / tool execution
  • Auth / tokens
  • Memory / storage
  • Integrations
  • API / contracts
  • UI / DX
  • CI/CD / infra

Linked Issue/PR

  • Closes #
  • Related #
  • This PR fixes a bug or regression

Root Cause (if applicable)

  • Root cause: N/A
  • Missing detection / guardrail: N/A
  • Contributing context (if known): N/A

Regression Test Plan (if applicable)

  • Coverage level that should have caught this:
    • Unit test
    • Seam / integration test
    • End-to-end test
    • Existing coverage already sufficient
  • Target test or file: Moonshot provider, contract, onboarding-search, media-default, and auth-choice option tests.
  • Scenario the test should lock in: the bundled Moonshot provider advertises kimi-k2.6 first and all bundled default-selection surfaces resolve to K2.6.
  • Why this is the smallest reliable guardrail: these existing focused tests already cover the provider catalog, selection labels/defaults, and runtime-owned defaults without needing a live provider dependency.
  • Existing test that already covers this (if any): extensions/moonshot/provider-catalog.test.ts, extensions/moonshot/index.test.ts, extensions/moonshot/src/kimi-web-search-provider.test.ts, src/commands/onboard-search.test.ts, src/media-understanding/defaults.test.ts, contract suites.
  • If no new test is added, why not: existing targeted coverage was updated instead of adding duplicate coverage.

User-visible / Behavior Changes

  • Moonshot onboarding/auth selection now presents Kimi K2.6 as the default bundled model.
  • Kimi web search now keeps kimi-k2.6 when the user accepts the default Moonshot search model.
  • Moonshot image/video bundled defaults now resolve to kimi-k2.6.

Diagram (if applicable)

Before:
[user selects Moonshot] -> [default model = moonshot/kimi-k2.5]

After:
[user selects Moonshot] -> [default model = moonshot/kimi-k2.6] -> [Kimi search/media defaults align]

Security Impact (required)

  • New permissions/capabilities? (No)
  • Secrets/tokens handling changed? (No)
  • New/changed network calls? (No)
  • Command/tool execution surface changed? (No)
  • Data access scope changed? (No)
  • If any Yes, explain risk + mitigation:

Repro + Verification

Environment

  • OS: macOS
  • Runtime/container: local dev checkout on latest origin/main
  • Model/provider: Moonshot / Kimi
  • Integration/channel (if any): onboarding + bundled provider selection
  • Relevant config (redacted): default bundled Moonshot provider catalog / web-search config / media defaults

Steps

  1. Fetch latest origin/main and confirm bundled Moonshot defaults still point at kimi-k2.5.
  2. Update the bundled Moonshot provider catalog/default-selection surfaces to use kimi-k2.6 while retaining kimi-k2.5 as a compatibility entry.
  3. Run the focused Moonshot/provider-selection test slice from the clean PR worktree.

Expected

  • Moonshot defaults point to kimi-k2.6 consistently across provider selection, web search, and media defaults.

Actual

  • Focused verification passes with the updated K2.6 defaults.

Evidence

Attach at least one:

  • Failing test/log before + passing after
  • Trace/log snippets
  • Screenshot/recording
  • Perf numbers (if relevant)

Focused verification from the clean PR worktree:

  • pnpm test extensions/moonshot/provider-catalog.test.ts extensions/moonshot/index.test.ts extensions/moonshot/src/kimi-web-search-provider.test.ts extensions/moonshot/media-understanding-provider.test.ts src/commands/onboard-search.test.ts src/commands/auth-choice-options.test.ts src/media-understanding/defaults.test.ts src/agents/models-config.providers.moonshot.test.ts src/plugins/contracts/plugin-registration.moonshot.contract.test.ts src/plugins/contracts/provider.moonshot.contract.test.ts
  • Result: 4 test files / 14 tests in extension-provider phase, plus 2 unit-fast files / 9 tests, 1 contracts file / 4 tests, and 2 commands files / 23 tests all passing in the clean worktree.

Human Verification (required)

  • Verified scenarios: fetched latest origin/main first and confirmed upstream still defaulted to K2.5; verified the clean PR branch now defaults bundled Moonshot selection surfaces to K2.6; reran the focused Moonshot/provider-selection suite from the PR worktree.
  • Edge cases checked: kimi-k2.5 remains in the provider catalog as a compatibility model; Kimi search still disables thinking for both K2.5 and K2.6 when invoking native $web_search.
  • What you did not verify: no live Moonshot API request or end-to-end onboarding run with real credentials.

Review Conversations

  • I replied to or resolved every bot review conversation I addressed in this PR.
  • I left unresolved only the conversations that still need reviewer or maintainer judgment.

Compatibility / Migration

  • Backward compatible? (Yes)
  • Config/env changes? (No)
  • Migration needed? (No)
  • If yes, exact upgrade steps:

Risks and Mitigations

  • Risk: some Moonshot docs and third-party expectations may still mention K2.5 as the default.
    • Mitigation: this PR keeps K2.5 in the catalog and only updates the bundled default-selection path.
  • Risk: latest origin/main currently has an unrelated extension typecheck failure in extensions/qa-lab/src/providers/aimock/server.ts when running changed-scope checks.
    • Mitigation: this branch was verified with the focused touched-surface test slice from a clean worktree, and the commit was created with FAST_COMMIT=1 to avoid bundling unrelated upstream fixes.

@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations agents Agent runtime and tooling extensions: kimi-coding extensions: moonshot size: S maintainer Maintainer-authored PR labels Apr 20, 2026
@greptile-apps

greptile-apps Bot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR updates the bundled Moonshot provider default model from kimi-k2.5 to kimi-k2.6 across provider catalog, web search defaults, media understanding defaults, UI labels, and tests. The old kimi-k2.5 is retained as a compatibility entry in the catalog.

Confidence Score: 5/5

Safe to merge — changes are purely default model version bumps with no logic changes, and all affected test surfaces have been updated consistently.

All changes are straightforward string replacements of the default model ID and display labels. The catalog retains kimi-k2.5 for backward compatibility, KIMI_THINKING_MODELS already includes kimi-k2.6, and tests are updated in lockstep. No P0/P1 issues found.

No files require special attention.

Reviews (1): Last reviewed commit: "providers: default Moonshot to Kimi 2.6" | Re-trigger Greptile

@scoootscooob scoootscooob self-assigned this Apr 20, 2026
@scoootscooob
scoootscooob force-pushed the codex/moonshot-kimi-2-6-default branch from ffa6b1a to 0efc125 Compare April 20, 2026 23:12
@scoootscooob
scoootscooob force-pushed the codex/moonshot-kimi-2-6-default branch from 0efc125 to 4d778d0 Compare April 20, 2026 23:15
@scoootscooob
scoootscooob merged commit f700ad3 into openclaw:main Apr 20, 2026
9 checks passed
@scoootscooob

Copy link
Copy Markdown
Member Author

Merged via squash.

Thanks @scoootscooob!

@scoootscooob
scoootscooob deleted the codex/moonshot-kimi-2-6-default branch April 20, 2026 23:15
loongfay pushed a commit to YuanbaoTeam/openclaw that referenced this pull request Apr 21, 2026
Merged via squash.

Prepared head SHA: 4d778d0
Co-authored-by: scoootscooob <[email protected]>
Co-authored-by: scoootscooob <[email protected]>
Reviewed-by: @scoootscooob
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
Merged via squash.

Prepared head SHA: 4d778d0
Co-authored-by: scoootscooob <[email protected]>
Co-authored-by: scoootscooob <[email protected]>
Reviewed-by: @scoootscooob
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
Merged via squash.

Prepared head SHA: 4d778d0
Co-authored-by: scoootscooob <[email protected]>
Co-authored-by: scoootscooob <[email protected]>
Reviewed-by: @scoootscooob
globalcaos pushed a commit to globalcaos/tinkerclaw that referenced this pull request May 13, 2026
Merged via squash.

Prepared head SHA: 4d778d0
Co-authored-by: scoootscooob <[email protected]>
Co-authored-by: scoootscooob <[email protected]>
Reviewed-by: @scoootscooob
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
Merged via squash.

Prepared head SHA: 4d778d0
Co-authored-by: scoootscooob <[email protected]>
Co-authored-by: scoootscooob <[email protected]>
Reviewed-by: @scoootscooob
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
Merged via squash.

Prepared head SHA: 4d778d0
Co-authored-by: scoootscooob <[email protected]>
Co-authored-by: scoootscooob <[email protected]>
Reviewed-by: @scoootscooob
vixco pushed a commit to vixco/openclaw that referenced this pull request Aug 16, 2026
Merged via squash.

Prepared head SHA: 4d778d0
Co-authored-by: scoootscooob <[email protected]>
Co-authored-by: scoootscooob <[email protected]>
Reviewed-by: @scoootscooob
Heetisk pushed a commit to Heetisk/openclaw that referenced this pull request Sep 28, 2026
Merged via squash.

Prepared head SHA: 4d778d0
Co-authored-by: scoootscooob <[email protected]>
Co-authored-by: scoootscooob <[email protected]>
Reviewed-by: @scoootscooob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling commands Command implementations extensions: kimi-coding extensions: moonshot maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant