[Feat] Add provider model mapping presets#427
Merged
brunobergher merged 5 commits intoJul 17, 2026
Conversation
Contributor
Author
|
No new code issues found. See task
Reviewed 258bf5b |
Contributor
Author
|
Fixed both review findings in f1d5c7a: preset model families now fall back from display names instead of provider IDs, and inherited-role previews use the effective coding model only when |
brunobergher
force-pushed
the
feature/provider-model-presets-2kcvfvr8hl0er
branch
from
July 17, 2026 10:21
f1d5c7a to
7baa36e
Compare
brunobergher
marked this pull request as ready for review
July 17, 2026 10:29
brunobergher
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
July 17, 2026 10:29
brunobergher
approved these changes
Jul 17, 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.
What changed
Adds provider-local model mapping presets with arbitrary identifiers and labels. Settings now groups presets by connected provider, marks the provider default, confirms the selected mapping before it applies, and adds or enables referenced models on demand.
The catalog includes OpenRouter Balanced and Quick turnaround presets. Existing providers that still use
recommendedRoleModelsreceive a synthesized Recommended default preset for backward compatibility. Preset models now retain their explicit or display-name-derived family instead of treating the provider segment as a family.Why this change was made
Operators need provider-defined mappings that can express role-specific model and reasoning choices without forcing every referenced model into the normal suggested catalog.
Impact
Connecting a provider seeds only its default preset models; non-default-only models are added only when that preset is selected. Environment-managed model and reasoning fields remain independently protected from preset updates, and inherited-role previews follow the effective env-managed coding model.
Screenshots