Repository navigation
agentHost: support managed Ensemble defaults in Fusion - #342184
Closed
Ross Wollman (rwoll) wants to merge 16 commits into
Closed
Ross Wollman (rwoll) wants to merge 16 commits into
Ross Wollman (rwoll) wants to merge 16 commits into
Conversation
Local checkpoint of the validated Ensemble prototype before merging latest main and adopting the bundled SDK contract. No publication. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Preserve upstream Fusion naming and canonical model option handling. Remove the temporary Ensemble SDK capability skip and use the released typed ensembleTier contract. Bundled SDK integration and schema tests pass: 38 passing, one pre-existing strict-mode skip. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Preserve main authentication and model-refresh generation guards alongside runtime-native Ensemble tier metadata. Validated SDK 1.0.23-preview.2/runtime 1.0.99-2: client typecheck, full dev build, hygiene, 2319 unit tests (one existing pending), and two runs of 38 integration tests (one existing strict-mode pending). All 14 Ensemble cases execute against the bundled runtime without an override. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Include main a7e1fc0. Changeset URI, service and Git-state suites pass: 253 tests, 30 existing pending. An upstream duplicate fixture property is corrected separately. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Remove the repeated gitService property introduced on main in #342128. Both entries referenced the same value. Client typecheck, full dev build, hygiene and all 89 Git-state tests pass. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Contributor
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Native-tier handling can hide existing HydraFusion selections and break fallback-only catalog recognition.
2 open issues
What changed in this PR
Adds editable runtime-managed Ensemble defaults to the Copilot Agent Host’s Fusion picker, building on managed model defaults.
Changes:
- Applies
ensembleTierprecedence while preserving explicit and legacy choices. - Uses runtime-advertised tiers without synthetic HydraFusion duplicates.
- Adds host, picker, and integration coverage.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts | Tests native Fusion tier selection. |
| src/vs/workbench/contrib/chat/common/languageModels.ts | Adds native-tier metadata. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerWidget.ts | Disables legacy routing for native tiers. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.ts | Separates native and synthetic tiers. |
| src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerPresentation.ts | Adjusts native-tier labeling. |
| src/vs/platform/agentHost/test/node/providerIntegration/copilotAutoTier.integrationTest.ts | Tests runtime policy and tier compatibility. |
| src/vs/platform/agentHost/test/node/e2e/README.md | Documents Ensemble integration coverage. |
| src/vs/platform/agentHost/test/node/copilotSessionLauncher.test.ts | Tests advertised tier identifiers. |
| src/vs/platform/agentHost/test/node/copilotManagedModelConfiguration.test.ts | Tests precedence and scoped configuration. |
| src/vs/platform/agentHost/test/node/copilotAgent.test.ts | Tests tier publication and availability updates. |
| src/vs/platform/agentHost/test/node/agentHostGitStateService.test.ts | Removes a duplicate fixture property. |
| src/vs/platform/agentHost/node/copilot/copilotSessionLauncher.ts | Passes native tiers into session creation. |
| src/vs/platform/agentHost/node/copilot/copilotManagedModelConfiguration.ts | Projects managed defaults and runtime choices. |
| src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts | Includes session-specific tier catalogs in reports. |
| src/vs/platform/agentHost/node/copilot/copilotAgent.ts | Publishes native tiers and applies defaults. |
| src/vs/platform/agentHost/common/meta/vscode/agentModelFusionMeta.ts | Reads and writes native-tier metadata. |
| src/vs/platform/agentHost/common/autoModeTiers.ts | Recognizes native routing identifiers. |
Review effort: Balanced
Combine the two imports inherited from main into one declaration. No runtime behavior change. Full npm run compile, full npm run eslint (13584 files), and targeted hygiene passed. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Ross Wollman (rwoll)
marked this pull request as ready for review
October 16, 2026 22:13
Fix fallback catalogs and standalone native Fusion selections Track empty-runtime catalog status separately from Auto projection identity. Keep base HydraFusion visible in native tier mode with legacy Balance routing disabled. Both regression tests reproduced the review findings before these fixes; full compile, ESLint, hygiene and 907 tests pass. Stacked follow-up to #342184. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Ross Wollman (rwoll)
enabled auto-merge (squash)
October 16, 2026 22:30
Aaron Munger (amunger)
previously approved these changes
Oct 16, 2026
Dmitriy Vasyura (dmitrivMS)
previously approved these changes
Oct 16, 2026
Resolve conflicts by retaining main’s cancellation-aware managed-settings resolver together with native Auto tier catalog reporting. Preserve the merged fallback and HydraFusion regression fixes. Before pushing: full compile, full-repository ESLint and hygiene passed; 2283 unit tests and 38 managed-settings integration tests passed (one existing pending in each selection). The prior Linux CI failure was a busy tmpfs held by bwrap after all E2E suites passed; this merge does not claim to fix that cleanup leak. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Ross Wollman (rwoll)
dismissed stale reviews from Dmitriy Vasyura (dmitrivMS) and Aaron Munger (amunger)
via
October 16, 2026 22:47
f601b70
Dmitriy Vasyura (dmitrivMS)
previously approved these changes
Oct 16, 2026
Preserve Standard/High/Max naming from main together with native tier metadata and standalone HydraFusion review fixes. Validated before push: full compile, full-repository ESLint (13590 files), full hygiene (13570 files), 2289 unit tests and 38 managed-settings integration tests. The unrelated canvas lifecycle suite passed 40 local repetitions unchanged; no canvas assertions or production code were altered. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Ross Wollman (rwoll)
disabled auto-merge
October 17, 2026 00:12
Ross Wollman (rwoll)
marked this pull request as draft
October 17, 2026 00:12
Member
Author
|
there was some chrun on ensemble naming on |
Use Standard/High/Max for known Fusion routing IDs in catalogs and per-chat reports; retain provider labels for unknown IDs and ordinary Auto. Policy values, routing IDs and saved choices remain unchanged. Regressions reproduce the old labels before the fix. Full compile, full-repository ESLint and hygiene passed. Validated 932 unit tests, 4 Fusion footer tests, and 38 native managed-settings integration tests. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Include origin/main e630a74 with SDK 1.0.23-preview.5/runtime 1.0.100-1. Stop the quick-chat test agent before deleting its runtime home; the prior order reproduced ENOTEMPTY and leaked follow-on work after the SDK update. Before push: full compile, full-repository ESLint/hygiene passed; 2290 affected unit tests passed twice (one existing pending), 40 direct SDK/model integrations passed (one existing strict-mode pending). Native Fusion label fix preserves routing and policy values. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Include fetched main a0c6520 after the SDK and Fusion label integration. Full compile, full-repository ESLint and hygiene passed before push; all 39 chat-composite-bar tests passed. 🤖 Authored with GitHub Copilot on behalf of @rwoll. Co-authored-by: Copilot <[email protected]>
Ross Wollman (rwoll)
marked this pull request as ready for review
October 17, 2026 00:34
Ross Wollman (rwoll)
enabled auto-merge (squash)
October 17, 2026 00:36
auto-merge was automatically disabled
October 17, 2026 01:07
Pull request was closed
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.

Apply runtime-managed
ensembleTierdefaults in the Copilot Agent Host's Fusion picker. Known tiers display Standard / High / Max; wire values remainbalance/high/max. Choices follow runtime availability, without duplicate synthetic tiers or hiding existing standalone HydraFusion selections.Precedence and compatibility
ensembleTierwins over legacyautoTier.unmanagedremoves the managed tier and suppresses legacy policy fallback.These are editable defaults, not strict locks. Tier-only policy does not select Auto, enable unavailable routing, or govern the model pool. No new VS Code setting.
Try it
{ "model": "auto", "ensembleTier": "high" }Restart Agent Host and inspect Fusion → Details → Effort Level in a new Copilot chat. Expect High when available; change it before sending and confirm the choice survives send/reopen. Add
"autoTier": "efficiency"to verify precedence, then set"ensembleTier": "unmanaged"to verify personal/default fallback."ensembleTier": "balance"displays as Standard.Local
npm run compile, full-repositorynpm run eslint, andnpm run hygienepassed, along with host/picker regressions and bundled-runtime policy, inference, and resume tests. Live-account UI validation remains outstanding; CI status is shown in the checks.🤖 Authored with GitHub Copilot on behalf of Ross Wollman (@rwoll).