Repository navigation
feat(web): custom models live behind a menu on each provider row - #255
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
AadiJo
force-pushed
the
provider-custom-models
branch
from
November 12, 2026 22:02
5c5fe63 to
ac2c361
Compare
AadiJo
force-pushed
the
provider-custom-models
branch
from
November 13, 2026 01:10
3bb996d to
402c809
Compare
AadiJo
force-pushed
the
provider-custom-models
branch
from
November 13, 2026 05:32
402c809 to
e0bd1ad
Compare
AadiJo
changed the base branch from
check-ollama-model-picker
to
optimistic-settings-saves
November 13, 2026 05:32
AadiJo
force-pushed
the
optimistic-settings-saves
branch
from
November 13, 2026 20:58
ff3d160 to
e345095
Compare
AadiJo
force-pushed
the
provider-custom-models
branch
from
November 13, 2026 20:59
e0bd1ad to
0ff6650
Compare
AadiJo
force-pushed
the
optimistic-settings-saves
branch
from
November 15, 2026 04:43
e345095 to
1022285
Compare
…refuses listed aliases
AadiJo
force-pushed
the
provider-custom-models
branch
from
November 15, 2026 04:45
0ff6650 to
9ddaf94
Compare
This branch was previously deployed
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.
Some gateways serve models they don't list, so #253 can't put them in the picker. Cadsense already reads a per-provider
customModelslist, but the only way to edit it was hand-editingsettings.json.Each provider row in Settings > Providers now has a quiet "⋯" menu with "Custom models…". It opens a small dialog for that provider: saved names show as removable chips, and a name field adds new ones. Each change saves right away into
providerInstances.<id>.config.customModels, which the server and the picker already read. A name or alias the provider already lists is refused, and the existing 256-character and 32-model limits apply.Builds on #253 and #256. Removing a custom model relies on #253's model list change, and edits made before an earlier save is answered rely on #256.
Proof: the new
apps/server/scripts/custom-models-e2e.tsruns the dev stack against a real Ollama through a proxy that hides the gateway's model list. Adding a model saves it and puts it in the Claude picker, a listed model and its alias are refused, a turn on the custom model reaches the gateway, and removing it takes it out again. With the server's replies held back, two removals in a row both stick, and add, close, reopen, add keeps both names. Web typecheck,vp checkand the web suite (1900 tests) pass.Reviewed with sol-loop: 7 rounds with gpt-6.1-sol on high. Sol verdict: approved