contextTier=long_context is not applied on startup / no CLI flag for long context tier
Describe the bug
The CLI accepts contextTier: "long_context" in ~/.copilot/settings.json, but new/default sessions launched non-interactively do not reliably start with the long context tier. The session starts with the smaller/default context even when settings specify model, effortLevel, and contextTier.
Selecting the same model interactively through /model switches the session from gpt-5.5 (xhigh) to gpt-5.5 (xhigh) (1.1M context), which suggests the context tier is recognized by the model picker but not applied during startup/model resolution.
This blocks autonomous or automatically launched sessions that start with an initial prompt, because those sessions cannot interactively choose the long-context tier after launch.
Affected version
GitHub Copilot CLI 1.0.52-4
Observed installed package: 1.0.52-4 on Windows.
Steps to reproduce the behavior
-
Configure
~/.copilot/settings.jsonwith:{ "model": "gpt-5.5", "effortLevel": "xhigh", "contextTier": "long_context" } -
Start a new default Copilot CLI session, or launch an automated session with an initial prompt.
-
Run
/contextor inspect the displayed model/context information. -
Observe that the session uses the smaller/default context rather than the long-context tier.
-
In an interactive session, run
/modeland select the same model/tier. The display changes to the long-context variant, for examplegpt-5.5 (xhigh) (1.1M context).
Expected behavior
A new session should honor contextTier: "long_context" from settings.json during startup/model resolution. For automation, there should also be a launch flag such as:
copilot --model gpt-5.5 --reasoning-effort xhigh --context-tier long_context
or equivalent.
Additional context
I inspected the installed 1.0.52-4 bundle locally and found:
contextTieris schema-recognized with values"default"and"long_context".- The interactive model picker has a
context_tierphase and writescontextTierwhen selecting the long-context tier. - The documented CLI flags include
--modeland--reasoning-effort, but not a context-tier flag. - The startup/model-resolution path appears to read
modelandeffortLevel, while the UI path applies context-tier capability overrides later. - The plain
/model <id>command path appears to clearcontextTier, while the picker path can write it.
Operating system: Windows 11 / Windows Terminal / PowerShell.
For anyone hitting this: launching with the --context <tier> flag directly (documented in copilot --help, "overrides persisted setting") reliably applies the long-context tier at startup, e.g.:
copilot --context long_context --model gpt-5.5 --effort xhigh
This avoids depending on the interactive /model picker path entirely, which is where the disconnect between "picker shows long-context" and "session actually uses it" (as described here) seems to happen. Related: #3762.
Correction to my earlier comment: I overstated --context long_context as a verified workaround for the picker path.
For Copilot CLI 1.0.71, pseudoconsole testing showed the native /model Tab action does change and apply the context tier. The apparent failure on our system was a High Contrast rendering problem: both context labels were always visible and selection was communicated only by color. Please do not treat my prior launcher example as proof that the interactive selection itself is broken.
This appears to be resolved as of GitHub Copilot CLI v1.0.86. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.