Default model choice fails when org policy loads model list after copilot load
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Tái hiện vấn đề bằng cách chọn một model khả dụng theo policy qua /config hoặc /settings, sau đó khởi động lại Copilot trong một tổ chức có danh sách model được cấu hình. Theo dõi quá trình phân giải model khi khởi động cùng với việc tải catalog; được xem là hoàn tất khi model mặc định đã cấu hình vẫn được chọn sau khi khởi động, thay vì chỉ xuất hiện trong thời gian ngắn rồi chuyển sang model khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
What's happening: ┃
┃
• Your user default is correctly saved ( ~/.copilot/settings.json → "model": "GPT-5.6 Sol" ). ┃
• At session startup, the resolver checks GPT-5.6-Sol against the model catalog it has at that instant — only ~150-400ms after auth completes — and doesn't find it ┃
available yet, so it silently falls back to claude-sonnet-5 . ┃
• This happens before any managed/org policy is even involved (the policy log lines only cover telemetry/bypass permissions, not model allowlists) — so it's not an org ┃
restriction blocking the model. ┃
• The UI briefly shows "Sol" (from your saved default) before the resolver's fallback takes effect and the display corrects to Sonnet — matching exactly what you saw. ┃
┃
This looks like a timing/race condition: the model entitlement/catalog fetch for GPT-5.6-Sol on your account hasn't completed (or propagated) by the time the session binds ┃
its model, so it can't find it in the "available" list yet.
Affected version
No response
Steps to reproduce the behavior
in org with policy-configured model list, slect a policy-avaiable model (not default available model) as default via /config or /settings, then restart copilot, it will show the new model briefly, before defautling back to a differnet model
Expected behavior
expect it to respect the configured default model.
Additional context
No response
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/copilot-cli
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4729 ·
-
area:sessions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4712 ·
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/copilot-cli#4638 ·
-
Expose large_output_file_path on TaskShellProgress so clients can read complete shell-task output Đang mởarea:tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/copilot-cli#4630 · 1 bình luận ·
Tất cả issue của github/copilot-cli
Issue tương tự
-
Accept -c in more positions Đang mởarea: compat bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
intake mcp-intake needs-ac needs-human-review priority:medium type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Ikalus1988/MisakaNet#2019 · 2 bình luận ·
-
[Page] Utiliser NFS sur Linux Đang mởtype:content-error
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
stephrobert/blog-roadmap#15 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
hust-open-atom-club/hustmirror-cli#52 · 1 bình luận ·