Skip to content

gemini-2.5-pro not shown in /model picker despite API returning model_picker_enabled: true #3633

@semion11

Description

@semion11

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:

  1. The Copilot API (https://api.githubcopilot.com/models) returns it with model_picker_enabled: true and policy.state: "enabled"
  2. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:modelsModel selection, availability, switching, rate limits, and model-specific behavior

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions