Skip to content

[Bug] Gemini models displayed as anthropic in openclaw models list #21031

@rsugumar

Description

@rsugumar

Description

When running openclaw models list, Gemini models are incorrectly displayed with the anthropic provider prefix instead of google.

Steps to Reproduce

  1. Configure Google/Gemini models in openclaw.json under models.providers.google
  2. Run openclaw models list
  3. Observe that Gemini models show as anthropic/gemini-* instead of google/gemini-*

Expected Behavior

Gemini models should display as google/gemini-* since they are configured under the google provider.

Actual Behavior

Model                                      Input      Ctx      Local Auth  Tags
anthropic/gemini-2.0-flash-001             -          -        -     -     configured,missing
anthropic/gemini-2.0-pro                   -          -        -     -     configured,missing
...

Environment

  • OpenClaw version: 2026.4.1
  • Config shows correct provider: models.providers.google with model IDs like gemini-2.0-flash-001

Additional Notes

  • The models are correctly configured under the google provider in openclaw.json
  • The API calls work correctly (quota issue aside)
  • This appears to be a display bug in the model list output

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions