-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
[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: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.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
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: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.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Give feedbackNo fields configured for issues without a type.
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