Repository navigation
fix(composer): display and match models by their complete wire ID - #966
Merged
Merged
Conversation
The Composer, settings panes, and runtime binding lookups previously used tolerant model-ID matching that could conflate proxy/model with model, borrow another route's metadata, or display a catalog friendly name instead of the configured wire ID. This commit: - Introduces modelWireIdsEqual() for configured-model identity and uses it across Composer selection, advanced settings, image/default model resolution, subagent pins, scheduled picker, context usage, and launch resolver. - Always shows the complete saved wire ID in the Composer chip, model list rows, and settings default summary. - Prevents models.dev catalog lookup from returning ambiguous cross-provider metadata when the endpoint cannot be identified: providerFor() no longer picks the first publisher on a shared API, and findModel() requires a unique candidate when no provider resolves. - Aligns image-generation availability with the runtime's exact-ID check so the UI and the service agree on what can be launched. - Adds regression tests for prefixed/unprefixed coexistence, no cross-borrow of capabilities or context windows, stale defaults, and shared-API ambiguity.
vastsa
force-pushed
the
fix/composer-full-model-id
branch
from
September 23, 2026 15:50
3d1ff53 to
1d634ae
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.
Problem
The Composer chip, model picker, settings panes, and runtime binding lookups used tolerant model-ID matching that could conflate proxy/model with model, borrow another route's metadata, or display a friendly catalog name instead of the configured wire ID.
Changes (36 files, +495 −190)
Identity
Catalog safety
Image-generation alignment
Default-model readiness
Tests