fix: preserve explicitly selected named provider choices - #363
Open
Brian Krabach (bkrabach) wants to merge 1 commit into
Open
Brian Krabach (bkrabach) wants to merge 1 commit into
Brian Krabach (bkrabach) wants to merge 1 commit into
Conversation
Generated with Amplifier Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
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.
Summary
Preserve an explicitly selected named provider configuration when the selected provider is represented by one unnamed mount in the prepared bundle.
This is an independent CLI correctness fix. It does not change provider defaults or require any new module/provider API. It should land before provider preset-default changes so a user who explicitly selects a saved provider cannot have that choice lost when the root/provider defaults are promoted.
Behavior
--provider anthropicrecognizes the saved provider withid: anthropicandmodule: provider-anthropic.provider-anthropicmount; it does not append a duplicate mount.claude-sonnet-5versus the unnamed root presetclaude-sonnet-5-5).Verification
Scoped to the published Core 2.0.1 test environment:
id: anthropicselection usingclaude-sonnet-5.runtime/config.pyis unchanged.Scope and sequencing
This PR is limited to the CLI's provider-selection path, its regression tests, and the related README clarification. It does not modify the provider default itself, module/provider APIs, computer-use behavior, downstream repositories, or any provider refs.
Review notes