Skip to content

[Bug] Models configured via OAuth not being pulled by ClawPanel #149

@adam479

Description

@adam479

Bug Description

ClawPanel is not fetching or displaying models that have been configured through OAuth authentication. The model list appears empty or stale even after a successful OAuth login/authorization flow.

Steps to Reproduce

  1. Configure a model provider using OAuth.
  2. Complete the OAuth authorization flow successfully.
  3. Navigate to the model selection / model list in ClawPanel.
  4. Observe that the models configured via OAuth are not listed or pulled.

Expected Behavior

After a successful OAuth authorization, ClawPanel should automatically fetch and display all models available under the authenticated OAuth provider/account.

Actual Behavior

Models configured through OAuth are not being pulled. The model list is empty or only shows models configured via API key — OAuth-authenticated models are missing.

Environment

  • ClawPanel Version: [e.g., latest / vX.X.X]
  • Browser: [e.g., Chrome 123]
  • OS: [e.g., Windows 11 / macOS / Linux]

Additional Context

  • This may be related to how the Auth Manager injects OAuth tokens vs. API keys when fetching the model list.
  • Possible cause: OAuth token may not be passed in the request headers when the model discovery/pull endpoint is called.
  • Workaround (if any): None found so far.

Logs / Screenshots

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