-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Status card shows the active OAuth profile, but weekly usage appears to reflect a different Oauth credential #58498
Copy link
Copy link
Open
BingqingLyu/openclaw
#1810Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
The status card shows the correct active OAuth profile for ChatGPT Codex, but the weekly usage line reports 0% left even though that limit appears to belong to a different credential.
Steps to reproduce
openai-codexOAuth profiles in OpenClaw.openai-codex/gpt-5.4.Expected behavior
The usage/quota line should reflect the usage for the account credential currently set in the session.
Actual behavior
The usage/quota line reflects the usage for the default model, not the fallback model actually being used in the session.
OpenClaw version
2026.3.28
Operating system
macOS 26.3.1
Install method
npm global
Model
openai-codex/gpt-5.4
Provider / routing chain
openclaw -> openai-codex (oauth)
Additional provider/model setup details
Two
openai-codexOAuth profiles are configured:openai-codex:default— display nameChatGPT Codex - Peteropenai-codex:k###########@gmail.com— display nameChatGPT Codex - KateLogs, screenshots, and evidence
Impact and severity
Impact and severity