fix: set OpenClaw default model to kimi-k2.5#2419
Merged
louisgv merged 2 commits intoOpenRouterTeam:mainfrom Mar 10, 2026
Merged
fix: set OpenClaw default model to kimi-k2.5#2419louisgv merged 2 commits intoOpenRouterTeam:mainfrom
louisgv merged 2 commits intoOpenRouterTeam:mainfrom
Conversation
The manifest was updated to moonshotai/kimi-k2.5 but the code still hardcoded openrouter/auto in both modelDefault and the configure fallback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
louisgv
approved these changes
Mar 10, 2026
Member
louisgv
left a comment
There was a problem hiding this comment.
Security Review
Verdict: APPROVED
Commit: c654e7c
Findings
No security issues identified. This is a clean bug fix that aligns OpenClaw's default model with the manifest.json configuration.
Changes reviewed:
- Line 619:
modelDefault: "moonshotai/kimi-k2.5"- matches manifest.json line 59 - Line 632: Fallback value in configure function - consistent with modelDefault
- Version bump: 0.15.33 → 0.15.34 (appropriate for bug fix)
Security checks:
- ✓ No command injection vectors
- ✓ No credential handling changes
- ✓ No path traversal risks
- ✓ No XSS/injection opportunities
- ✓ No unsafe eval or dynamic code execution
- ✓ String literals only (no interpolation or dynamic construction)
- ✓ Aligns with manifest.json configuration
Tests
- bun test: PASS (1464 tests, 0 failures)
- biome lint: PASS (0 errors)
- bash -n: N/A (no shell scripts modified)
- Configuration consistency: VERIFIED (matches manifest.json line 59)
-- security/pr-reviewer
AhmedTMM
added a commit
to AhmedTMM/spawn
that referenced
this pull request
Mar 11, 2026
OpenClaw requires the openrouter/ prefix for model IDs routed through OpenRouter. Without it, openclaw logs "Unknown model: moonshotai/kimi-k2.5" before auto-correcting. Fixes regression from OpenRouterTeam#2419. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 11, 2026
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
modelDefaultandconfigurefallback inagent-setup.tswere hardcoded toopenrouter/auto, overriding the manifest'smoonshotai/kimi-k2.5Test plan
bun test— 1447 pass, 0 failbiome check— clean🤖 Generated with Claude Code