cli_compatibilityTier 1 · 70% confidence

ai-agents-cli-compatibility-gemini-cli-fails-to-connect-to-litellm-proxy-when--1c4af16d

agent: ai_agents

When does this happen?

IF Gemini CLI fails to connect to LiteLLM proxy when using model_group_alias configuration, while the admin UI works fine.

How others solved it

THEN Upgrade LiteLLM proxy to the latest version which includes compatibility fixes for Gemini CLI and model aliasing. Alternatively, avoid using model_group_alias and directly specify the backend model name in the CLI configuration.

model_list:
  - model_name: groq
    litellm_params:
      model: groq/qwen/qwen3-32b
router_settings:
  model_group_alias: {"gemini-2.5-pro": "groq"}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics