-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Describe the bug
Here is my situation:
- I have a
~/.copilot/config.json. - I run
copilotwith--config-dir .copilotwhich I want to set./.copilotas my primary config directory.
I found that during the execution of Copilot CLI, session data is written to the ./.copilot/ folder, but config.json reads the contents of ~/.copilot/config.json. That's so strange!
Affected version
GitHub Copilot CLI 1.0.9.
Steps to reproduce the behavior
- Create a
~/.copilot/config.jsonwhich assign a model togpt-5-mini. - Create a
./.copilot/config.jsonwhich assign a model toclaude-sonnet-4.6.
Run copilot --yolo --config-dir .copilot which will load gpt-5-mini model.
Expected behavior
The command arguments should take precedence over and be higher than ~/.copilot/config.json
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for Bug.