Skip to content

gemini oauth in droid cli: unknown provider #258

@Blueemi

Description

@Blueemi

Describe the bug
A clear and concise description of what the bug is.
Im trying to use droid cli with gemini-2.5-pro model from gemini cli oauth, and i get this error: "> hi

Error: 400 unknown provider for model gemini-2.5-pro"

CLI Type
What type of CLI account do you use? (gemini-cli, gemini, codex, claude code or openai-compatibility)
Factory.ai droid cli

Model Name
What model are you using? (example: gemini-2.5-pro, claude-sonnet-4-20250514, gpt-5, etc.)
gemini-2.5-pro

LLM Client
What LLM Client are you using? (example: roo-code, cline, claude code, etc.)
factory ai droid cli

Request Information
The best way is to paste the cURL command of the HTTP request here.
Alternatively, you can set request-log: true in the config.yaml file and then upload the detailed log file.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

OS Type

  • OS: [e.g. macOS]
    MacOS 26.1

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions