fix: Improve Kimi model search and add fallback models#5704
fix: Improve Kimi model search and add fallback models#5704Patel230 wants to merge 4 commits intoKilo-Org:mainfrom
Conversation
Make model search case-insensitive so users can find models regardless of casing.
For example, searching for "kimi k2.5" will now find models like "Kimi-K2.5-Instruct".
Changes:
- Add custom filtering with toLowerCase() for case-insensitive search
- Disable default Command filtering with shouldFilter={false}
- Use filtered model lists for displaying results
Fixes Kilo-Org#5694
🦋 Changeset detectedLatest commit: fd828bc The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Fixes Kimi model search in OpenAI Compatible provider by: 1. Search normalization - Model search now normalizes dashes, spaces, and underscores for fuzzy matching: - matches - matches 2. Kimi fallback models - Kimi models are now included as fallback when using OpenAI Compatible with Kimi endpoints: - Detects Kimi endpoints (kimi, moonshot, api.moonshot.ai/cn) - Always includes all Kimi models even if API fetch fails - Uses as default model for Kimi endpoints
Reviews #1-22 covering PRs across tiers 1-3. Includes review.md (machine-parseable), journal.md (human narrative), and status.json for each PR. Combined integration test: PRs Kilo-Org#5370 + Kilo-Org#5660 + Kilo-Org#5704 merged and tested together — 7,932 tests passed, 4 pre-existing failures (mistral-fim mocks). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Mirror: fix: Improve Kimi model search and add fallback models (Kilo-Org#5704)
Integration test: PRs Kilo-Org#5370 + Kilo-Org#5660 + Kilo-Org#5704 merged together
|
Hi! Recently we made the decision to start working hard on a ground-up rebuild of this extension using the new Kilo CLI as the backend. Because of this we made the decision to start temporarily limiting the size and type of features we're still accepting into the current extension. If you think this functionality is still important could please add a feature request or submit a PR to the new repository? To make up for lost time/effort and to show appreciation for the work you did I'd like to give you extra credits on your Kilo account. Please reach out to me on Discord (Kevin) with the email address you used to sign up for Kilo so I can grant you those! |
|
Thanks @kevinvandijk |
Summary
Improve Kimi model search in OpenAI Compatible provider by adding search normalization and Kimi models as fallback.
Problem
kimi-k2.5were not appearing in the searchkimi k2.5(with space) did not matchkimi-k2.5(with dash)Changes
1. Search Normalization
kimi k2.5now matcheskimi-k2.5kimik2matcheskimi-k2-thinking2. Kimi Fallback Models
kimi-k2-thinkingas default model for Kimi endpoints3. Before vs After
kimi k2.5kimi-k2.5kimi-k2.5kimik2kimi-k2-thinkingandkimi-k2.5kimiFiles Changed
webview-ui/src/components/settings/ModelPicker.tsx- Search normalizationwebview-ui/src/components/settings/providers/OpenAICompatible.tsx- Kimi fallback models