Repository navigation
Make dynamic Auto tiers the only switch for Fusion - #343107
Conversation
Remove chat.copilot.ensemble.enabled, chat.copilot.ensemble.intelligenceUsesHydraFusion and chat.modelPicker.fusionInlineTiers. Auto is presented as Fusion only when chat.copilot.dynamicAutoTiers.enabled is on and the Copilot service provides Auto's tiers; otherwise the picker falls back to Auto plus HydraFusion as its own model, controlled by chat.copilot.hydraFusion.enabled. Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
2 open issues
What changed in this PR
This PR makes chat.copilot.dynamicAutoTiers.enabled the sole feature switch that can cause Auto to be presented as Fusion, removing the legacy Ensemble/Fusion toggles and the “inline Fusion tiers” UI.
Changes:
- Removed legacy configuration keys and UI/test coverage for inline Fusion tier rows in the model picker.
- Updated agent/runtime logic so Fusion presentation depends on dynamic Auto tiers plus provider-advertised tier metadata; otherwise fallback shows Auto + (optional) HydraFusion model rows.
- Moved experiment-trigger telemetry from the legacy Ensemble/Fusion settings to
chat.copilot.dynamicAutoTiers.enabled.
| File | Description |
|---|---|
| src/vs/workbench/test/browser/componentFixtures/chat/tabbedModelPicker.fixture.ts | Removes inline Fusion tier fixture and related configuration wiring. |
| src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTelemetry.test.ts | Deletes telemetry expectations tied to removed inline Fusion/ensemble behavior. |
| src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts | Drops UI tests for inline Fusion tier rows and tier-row behaviors. |
| src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerPresentation.test.ts | Removes tests for inline Fusion label helpers that were deleted. |
| src/vs/workbench/contrib/chat/test/browser/agentSessions/agentHostCopilotCliSettingsContribution.test.ts | Updates forwarded root-config expectations after removing Fusion keys. |
| src/vs/workbench/contrib/chat/test/browser/accessibility/chatAccessibilityHelp.test.ts | Updates accessibility help text assertions to match new Fusion criteria. |
| src/vs/workbench/contrib/chat/common/constants.ts | Removes chat.modelPicker.fusionInlineTiers setting id. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerWidget.ts | Deletes inline Fusion-tier label logic and removes legacy trigger logging. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.ts | Removes inline Fusion tier row building and restores uniform row heights/sections. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerPresentation.ts | Removes inline Fusion tier label/detail helpers. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/media/modelPicker.css | Deletes CSS styling for inline Fusion tier rows. |
| src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts | Removes fusion configuration props and registers dynamic auto tiers configuration props. |
| src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.ts | Removes legacy experiment-trigger logging tied to Fusion High routing. |
| src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.ts | Removes Fusion-related forwarded config and gating from the contribution. |
| src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts | Updates user-facing accessibility help text for Fusion behavior. |
| src/vs/platform/agentHost/test/node/copilotSessionLauncher.test.ts | Updates tier-resolution tests for dynamic tiers / provider-tier gating. |
| src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts | Updates experimental-mode enablement test to use dynamic Auto tiers. |
| src/vs/platform/agentHost/test/node/copilotAgent.test.ts | Refactors Fusion presentation and telemetry-trigger tests around dynamic Auto tiers. |
| src/vs/platform/agentHost/test/electron-browser/agentHostProtocolClient.test.ts | Removes Fusion forwarding tests; keeps dynamic auto tiers mirroring tests. |
| src/vs/platform/agentHost/node/copilot/copilotSessionLauncher.ts | Forces HydraFusion v2 on when dynamic auto tiers are enabled; updates Efficiency→Balance mapping gate. |
| src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts | Treats dynamic auto tiers as enabling HydraFusion availability in-session. |
| src/vs/platform/agentHost/node/copilot/copilotAgent.ts | Makes Fusion presentation depend on startup dynamic tiers + CAPI tier metadata; updates experiment trigger setting. |
| src/vs/platform/agentHost/common/fusionConfiguration.ts | Removes the old fusion configuration contribution module. |
| src/vs/platform/agentHost/common/dynamicAutoTiersConfiguration.ts | Adds a dedicated configuration contribution module for dynamic auto tiers. |
| src/vs/platform/agentHost/common/copilotCliConfig.ts | Removes legacy Fusion keys from schema and exports. |
| src/vs/platform/agentHost/common/autoModeTiers.ts | Adds hasAdvertisedAutoModeTiers() helper to detect provider-advertised tier lists. |
| src/vs/platform/agentHost/browser/agentHostProtocolClient.ts | Stops mirroring Fusion; mirrors only dynamic auto tiers (gated). |
Review effort: Lite
The reason an Auto/Fusion tier is unavailable no longer renders as text below the tiers. It stays as the tier's hover, and the tier group carries it as an aria-description for screen reader users, since disabled tiers can't take focus. Co-authored-by: Copilot <[email protected]>
…t can run With dynamic Auto tiers, CAPI's tiers now decide the presentation. Auto becomes Fusion only when they include an enabled Fusion tier; otherwise Auto keeps its name with CAPI's other tiers, so accounts without Fusion see plain Auto rather than Fusion with unavailable High and Max. Unlisted HydraFusion rows are only added when CAPI provides no tiers. Logs the presentation decision when it changes. Co-authored-by: Copilot <[email protected]>
With dynamic Auto tiers, an account that cannot run a Fusion tier keeps Auto's name but still sees High and Max as unavailable, with CAPI's reason on hover. Co-authored-by: Copilot <[email protected]>
With dynamic Auto tiers, Auto and Fusion now show each tier with CAPI's own name and description, and no longer substitute local labels, descriptions, or unavailable reasons. Fusion no longer drops CAPI's tiers: every tier CAPI lists for the picker is shown, and the ones it disables are shown as disabled. Co-authored-by: Copilot <[email protected]>
…tiers Renames the experiment trigger members after the dynamic Auto tiers setting they now report, and treats an empty advertised tier list as not Fusion. Co-authored-by: Copilot <[email protected]>
Auto presented as Fusion now carries the same "Research preview" badge as HydraFusion, unless it advertises a discount. Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
1 open issue
2 resolved since last review
Review effort: Lite
When dynamic Auto tiers turned on, a chat on HydraFusion lost its model, since HydraFusion models were no longer published, and fell back to the first available model. Each HydraFusion tier CAPI lets the account run is now also published as a model, so the chat is shown on that Fusion tier instead. When Fusion goes away, a chat on Auto at a HydraFusion tier Auto no longer offers is shown on that HydraFusion model, instead of Auto's default tier. Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
3 open issues
1 resolved since last review
Review effort: Lite


Makes
chat.copilot.dynamicAutoTiers.enabledthe only switch for Fusion.chat.copilot.ensemble.enabled,chat.copilot.ensemble.intelligenceUsesHydraFusion, andchat.modelPicker.fusionInlineTiers, along with the inline Fusion tier rows in the picker.chat.copilot.hydraFusion.enabled.chat.copilot.dynamicAutoTiers.enabled.Validation
npm run typecheck-client: passednpm run eslint -- <changed files>: passed./scripts/test.sh --run …, 15 suites (agent, launcher and session; protocol client; settings contribution; LM provider; chat contribution; model picker widgets; accessibility help): 3,878 passingNot tested: a live service response with real tier metadata, and older agent-host builds. An older host that an older window already told to show Fusion keeps showing it until it restarts.