Repository navigation
fix(cli): prefer a cheap same-vendor small model for auxiliary tasks #14263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
maphew
wants to merge
25
commits into
Kilo-Org:main
Choose a base branch
from
maphew:fix/small-model-same-vendor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e781dd5
fix(cli): prefer a cheap same-vendor small model for auxiliary tasks
maphew c04c48e
fix(cli): exclude embedding and rerank models from cheapestSmallModel
6ad333e
test(cli): widen processor-create wait in cancellation race test
maphew d1f9120
fix(cli): harden non-generative exclusion and drop shared test drift
maphew 20b7648
fix(cli): gate cheap small-model pick on availability and safety
maphew 549678d
fix(cli): wrap loopback small-model skip in annotation block
maphew f0bcb0a
Merge branch 'main' into fix/small-model-same-vendor
WebReflection 0866402
Merge upstream/main into fix/small-model-same-vendor
maphew a547ddd
Merge remote-tracking branch 'upstream/main' into fix/small-model-sam…
maphew 4c042c3
fix(cli): keep session-model fallback for local servers on LAN hostnames
maphew 3beb2c6
Merge upstream/main into fix/small-model-same-vendor
maphew 824d806
Merge remote-tracking branch 'upstream/main' into fix/small-model-sam…
maphew b193c59
Merge upstream/main into fix/small-model-same-vendor
maphew 4fdd395
Merge remote-tracking branch 'upstream/main' into fix/small-model-sam…
maphew b5a8ddf
test(provider): exercise the id tiebreak and drop an any from the loo…
maphew 69e6bba
docs(changeset): add trailing newline
maphew eb4c6c1
Merge remote-tracking branch 'upstream/main' into fix/small-model-sam…
maphew 579a031
Merge remote-tracking branch 'upstream/main' into fix/small-model-sam…
maphew a972f1e
Merge remote-tracking branch 'upstream/main' into fix/small-model-sam…
maphew 8838406
Merge branch 'main' into fix/small-model-same-vendor
maphew 354dc8b
Merge remote-tracking branch 'upstream/main' into fix/small-model-sam…
maphew f1475ba
Merge remote-tracking branch 'origin/fix/small-model-same-vendor' int…
maphew ec8c925
Merge remote-tracking branch 'upstream/main' into fix/small-model-sam…
maphew a3439e9
chore(ci): retrigger checks after unrelated run-stdin timing failure
maphew f496c3c
chore(ci): retrigger windows unit after runner setup timeout
maphew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@kilocode/cli": patch | ||
| --- | ||
|
|
||
| Prefer the session provider's cheapest chat-capable model for auxiliary tasks (session titles, prompt enhance, commit messages, branch names) instead of falling back to Kilo's auto small model. BYOK users no longer silently draw Kilo credits when their configured provider has no recognized small-model family. |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARNING: The loopback guard recognizes only
localhost,127.0.0.1and::1/[::1]. A local model server reached over the LAN or via a host alias (http://192.168.x.x:1234,http://host.docker.internal,http://ollama.local,0.0.0.0,[::]) is treated as remote, socheapestSmallModelstill runs and can name a model the server has not installed - the exact case this guard was added to prevent. Consider also treating private/link-local hosts and.localnames as local, or gating the cheap pick on an explicit opt-out.Reply with
@kilocode-bot fix itto have Kilo Code address this issue.