default Enterprise model
Describe the bug
we have set the default enterprise model as MAI-Code-1.1-Flash but while vscode and github desktop is picking it correctly it shows in cli
The organization-managed default model "MAI-Code-1.1-Flash" is not available for this account; using the default model instead.
then when i pick a model manually it picks it as shown in the screen
i have doubt of the casing lower and upper but i need confirmation why it is not working in cli
Affected version
1.0.82
Steps to reproduce the behavior
only start cli in any folder
Expected behavior
it should pick our default model
Additional context
No response
Describe the bug
we have set the default enterprise model as
MAI-Code-1.1-Flashbut while vscode and github desktop is picking it correctly it shows in cliThe organization-managed default model "MAI-Code-1.1-Flash" is not available for this account; using the default model instead.then when i pick a model manually it picks it as shown in the screen i have doubt of the casing lower and upper but i need confirmation why it is not working in cli![]()
Affected version
1.0.82
Steps to reproduce the behavior
only start cli in any folder
Expected behavior
it should pick our default model
Additional context
No response
ا
---------- Forwarded message --------- فرستنده: muhssamy @.> Date: چهارشنبه ۲ سپتامبر ۲۰۲۶، ۸:۰۸ Subject: [github/copilot-cli] default Enterprise model (Issue #4692) To: github/copilot-cli @.> Cc: Subscribed @.***>
muhssamy created an issue (github/copilot-cli#4692) https://github.com/github/copilot-cli/issues/4692 Describe the bug
we have set the default enterprise model as MAI-Code-1.1-Flash but while vscode and github desktop is picking it correctly it shows in cli The organization-managed default model "MAI-Code-1.1-Flash" is not available for this account; using the default model instead. then when i pick a model manually it picks it as shown in the screen i have doubt of the casing lower and upper but i need confirmation why it is not working in cli Image: Image (view on web) https://github.com/user-attachments/assets/29eaf154-b69a-4984-a0dc-7d7cb69f664d Affected version
1.0.82 Steps to reproduce the behavior
only start cli in any folder Expected behavior
it should pick our default model Additional context
No response
— Reply to this email directly, view it on GitHub https://github.com/github/copilot-cli/issues/4692?email_source=notifications&email_token=BWXPAZ367WUIUMBW2V662DD5M6P3PA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NJTGE4TOOBWGY2TDJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L, or unsubscribe https://github.com/notifications/unsubscribe-auth/BWXPAZ55E5BUDONHEFJBLZD5M6P3PAVCNFSNUABFKJSXA33TNF2G64TZHM2TQNJYGYYDMNRUHNEXG43VMU5TKMZRHE3TQNRWGUY2C5QC . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Your suspicion about the casing is correct.
-
Cause The Copilot API catalog exposes model IDs in lowercase (mai-code-1.1-flash), but CLI startup performs a case-sensitive lookup when validating the org-configured policy string (MAI-Code-1.1-Flash). Because the strings don't match exactly, the CLI treats it as unavailable and falls back to the default model.
-
Fix Update the startup model overlay lookup in the CLI to be case-insensitive
@dereklegenzoff can I go ahead and open PR for the fix