effortLevel config is not respected when switching models via /model command
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
### Describe the feature or problem you'd like to solve
_No response_
### Proposed solution
The effortLevel setting in ~/.copilot/config.json is correctly applied when a new session starts. However, when switching models mid-session using the /model command, the effort level resets to "medium" by
default instead of inheriting the value from the config.
Expected behavior: When switching models via /model, the effort level should default to the value set in config.json (effortLevel), so users don't have to manually re-select it every time.
Suggested improvement: Either:
1. Pre-select the configured effortLevel in the /model effort picker UI, or
2. Support per-model default effort levels in config.json (e.g., "models": { "claude-sonnet-4.6": { "effortLevel": "high" } })
Steps to reproduce:
1. Set "effortLevel": "high" in ~/.copilot/config.json
2. Start a new session — effort level is correctly "high" ✅
3. Use /model to switch to another model — effort level resets to "medium" ❌
4. Use /model to switch back — still "medium" ❌
### Example prompts or workflows
_No response_
### Additional context
_No response_
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.