feat(cli): add kimi-k.3.0 to kimi-coding and related model catalogs - #64540
feat(cli): add kimi-k.3.0 to kimi-coding and related model catalogs#64540am423 wants to merge 1 commit into
Conversation
teknium1
left a comment
There was a problem hiding this comment.
Thanks for the catalog update. Current main does not yet contain this slug, but this version needs availability evidence and a smaller scope before it is safe to salvage.
Problems
plugins/model-providers/kimi-coding/__init__.py:65,76makes this pre-release ID the automatic auxiliary model for both endpoints.agent/auxiliary_client.py:469-480,1958-2001consumes that profile default for side-task requests, while the PR body provides no endpoint-level availability validation.website/docs/integrations/providers.md:231,235promotes the same pre-release ID to both public quick starts.tests/plugins/model_providers/test_kimi_profile.py:52,58are catalog snapshots.AGENTS.md:1321-1340explicitly rejects exact model-membership change-detector tests.agent/model_metadata.py:320already provides the same 262144 fallback for the entirekimifamily, so the new exact entry is redundant.
Suggested changes
- Verify availability per endpoint before changing auxiliary defaults or docs; scope entries to confirmed providers.
- Replace the exact-ID tests with a catalog/manifest invariant, and remove the redundant fallback.
Automated hermes-sweeper review.
| default_max_tokens=32000, | ||
| default_headers={"User-Agent": "hermes-agent/1.0"}, | ||
| default_aux_model="kimi-k2-turbo-preview", | ||
| default_aux_model="kimi-k.3.0", |
There was a problem hiding this comment.
This changes automatic auxiliary requests for kimi-coding, not only the picker: agent/auxiliary_client.py:469-480,1958-2001 selects default_aux_model from the profile. Please retain the existing default until the pre-release slug has been verified against this endpoint (and independently against the China endpoint below).
| """The pre-release K3.0 model id is available for selection.""" | ||
| from hermes_cli.models import provider_model_ids | ||
|
|
||
| assert "kimi-k.3.0" in provider_model_ids("kimi-coding") |
There was a problem hiding this comment.
Please remove this exact catalog-membership assertion (and the matching validation snapshot below). AGENTS.md:1321-1340 explicitly prohibits change-detector tests for mutable model catalogs; use a catalog/manifest consistency invariant instead.
| "grok": 131072, # catch-all (grok-beta, unknown grok-*) | ||
| # Kimi | ||
| "kimi": 262144, | ||
| "kimi-k.3.0": 262144, |
There was a problem hiding this comment.
Current main already has the generic "kimi": 262144 fallback at agent/model_metadata.py:320, which covers this slug with the same value. This exact entry does not change resolution, so please keep the family mapping as the single source.
|
|
||
| # Kimi / Moonshot AI (international: api.moonshot.ai) | ||
| hermes chat --provider kimi-coding --model kimi-for-coding | ||
| hermes chat --provider kimi-coding --model kimi-k.3.0 |
There was a problem hiding this comment.
The PR describes this as a pre-release staged ahead of public release. Please do not replace the public quick-start command until this exact slug is verified available on the advertised endpoint; otherwise keep the current known-working example.
|
Superseded by #65725. The replacement is rebased on current main and addresses this review with endpoint-level evidence and strict scope: canonical |
|
Thanks @am423 for flagging Kimi K3 ahead of release — appreciated. Closing this one now that the two halves it covered have landed or been superseded:
Credit to you as the first to submit K3 support. |
Summary
Adds the pre-release Kimi K3.0 model id (
kimi-k.3.0) to the Hermes model menus and provider catalogs ahead of its public release.What changed
hermes_cli/models.pymoonshotai/kimi-k.3.0toOPENROUTER_MODELSand_PROVIDER_MODELS["nous"]so it appears in the Nous portal/OpenRouter curated lists.kimi-k.3.0to_PROVIDER_MODELSforkimi-coding,kimi-coding-cn,moonshot,opencode-zen,opencode-go,alibaba.moonshotai/kimi-k.3.0to_PROVIDER_MODELSfornvidiaandnovita.agent/model_metadata.pykimi-k.3.0context length fallback of262144.plugins/model-providers/kimi-coding/__init__.pydefault_aux_modelfromkimi-k2-turbo-previewtokimi-k.3.0for both the international and China profiles.website/static/api/model-catalog.jsonpython3 scripts/build_model_catalog.pyso the online manifest matches the in-repo curated lists.website/docs/integrations/providers.mdand its Chinese translationkimi-k.3.0.tests/plugins/model_providers/test_kimi_profile.pykimi-k.3.0is present in thekimi-codingcatalog and accepted byvalidate_requested_model.Testing
python3 -m pytest tests/hermes_cli/test_model_validation.py \ tests/hermes_cli/test_model_catalog.py \ tests/plugins/model_providers/test_kimi_profile.py \ tests/agent/test_model_metadata.py -qResult: 260 passed.
Notes
kimi-k.3.0yet, so the OpenRouter/Nous/Novita/NVIDIA entries are staged for the slugmoonshotai/kimi-k.3.0and can be corrected via the live manifest once the model is released.Checklist
origin/main.models.py.