Repository navigation
models: migrate legacy GPT routes and fallbacks to GPT-6 Luna - #3278
Merged
Hillary Mutisya (hillary-mutisya) merged 1 commit intoNov 11, 2026
Merged
Hillary Mutisya (hillary-mutisya) merged 1 commit into
Hillary Mutisya (hillary-mutisya) merged 1 commit into
Conversation
Migrate explicit browser, email, greeting, KnowPro and document-processing selectors. Require Luna for implicit Azure defaults and unavailable GPT-6 Copilot/dispatcher routes while preserving explicit model overrides. Normalize KnowPro completion settings before construction and cover routing, missing-model failures and provisioning defaults. Co-authored-by: Copilot <223556219+Copilot@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
Motivation
The shared chat defaults already use GPT-6 Luna, but explicit legacy selectors and fallback chains could still route requests to older deployments. Browser helpers that construct Azure settings directly bypass provider-mode remapping, so changing only the shared default does not fix those calls.
Behavior and compatibility
default/lunaselections and preserves its older CLI aliases. Completion settings now enter the factory before normalization, avoiding a post-construction temperature override that Luna rejects.GPT_6_LUNAdeployment; no deployment, secret, or local configuration is provisioned by this change.Reviewer guide
ts/packages/aiclient/src/copilotModels.tsandts/packages/config/src/runtime/build.tsfor availability/default policy, then the dispatcher fallback.Validation
Validated locally on Windows:
pnpm run build: passed across the full workspace. A priorpnpm run cleanfollowed bypnpm run buildalso passed across 328 tasks in 152 packages.pnpm run ci:node --test tools/scripts/test/knowledgeModelDefaults.spec.mjs tools/scripts/test/msiInstallerProviderUi.spec.mjs: 16 passed.pnpm --filter @typeagent/browser run test:crossword: 71 passed.pnpm run prettier:changed: passed.origin/main: lint ratchet; complexity ratchet at 25/30 with matching new-file limits; circular-dependency ratchet with the existing exception file; test-debt gate.The local checkout also contains unrelated, uncommitted memory-curation work that is not included in this PR. No live-model inference, browser recording, quality campaign, or performance benchmark ran. Existing build/configuration warnings are not presented as failures or as fixed by this PR.
Risks and follow-ups