Bug Report
CLI Version: 1.0.57
OS: macOS (darwin-arm64)
Description
gemini-2.5-pro does not appear in the /model picker even though:
- The Copilot API (
https://api.githubcopilot.com/models) returns it with model_picker_enabled: true and policy.state: "enabled"
- The org admin has enabled Gemini models in organization settings
Root Cause
In app.js (v1.0.57), gemini-2.5-pro is hardcoded in a client-side exclusion set that filters models out of the picker regardless of what the API returns:
Sqn = new Set(["gpt-41-copilot", "gpt-4.1", "gpt-4.1-2025-04-14", "gpt-5.4-nano", "gemini-2.5-pro", "grok-code-fast-1"])
// wqn filter: if Sqn.has(model.id) => exclude from picker
Expected Behavior
gemini-2.5-pro should appear in the /model picker when the API returns it as available and enabled.
Additional Context
gemini-3.1-pro-preview is also not appearing, though in that case the model is not returned by the API at all (likely a staged rollout issue on the backend).
Bug Report
CLI Version: 1.0.57
OS: macOS (darwin-arm64)
Description
gemini-2.5-prodoes not appear in the/modelpicker even though:https://api.githubcopilot.com/models) returns it withmodel_picker_enabled: trueandpolicy.state: "enabled"Root Cause
In
app.js(v1.0.57),gemini-2.5-prois hardcoded in a client-side exclusion set that filters models out of the picker regardless of what the API returns:Expected Behavior
gemini-2.5-proshould appear in the/modelpicker when the API returns it as available and enabled.Additional Context
gemini-3.1-pro-previewis also not appearing, though in that case the model is not returned by the API at all (likely a staged rollout issue on the backend).