Description
I’m using OpenUsage with the Grok/xAI provider.
Authentication works correctly after running grok login. However, approximately once per day, requests start failing and I have to run grok login again to restore access.
Not sure if this is an xAI limitation or a bug in OpenUsage. The issue does not occur with other providers.
OpenUsage version: 0.6.24
Steps to Reproduce
- Open Openusage
- Add Grok/xAI provider
- Authenticate via
grok login
- Wait for a day
- Authentication will expire, requires
grok login again
Expected Behavior
Authentication with the Grok/xAI provider should persist across sessions without requiring daily re-authentication. Once grok login is run, OpenUsage should continue working indefinitely (or at least until the token actually expires).
Actual Behavior
Approximately once per day, requests to the Grok/xAI provider start failing. Running grok login again restores access temporarily. The issue does not occur with other providers.
OpenUsage Version
0.6.24
Operating System
macOS (Apple Silicon)
Screenshots
No response
Additional Context
The issue does not occur with other providers.
Description
I’m using OpenUsage with the Grok/xAI provider.
Authentication works correctly after running
grok login. However, approximately once per day, requests start failing and I have to run grok login again to restore access.Not sure if this is an xAI limitation or a bug in OpenUsage. The issue does not occur with other providers.
OpenUsage version: 0.6.24
Steps to Reproduce
grok logingrok loginagainExpected Behavior
Authentication with the Grok/xAI provider should persist across sessions without requiring daily re-authentication. Once
grok loginis run, OpenUsage should continue working indefinitely (or at least until the token actually expires).Actual Behavior
Approximately once per day, requests to the Grok/xAI provider start failing. Running
grok loginagain restores access temporarily. The issue does not occur with other providers.OpenUsage Version
0.6.24
Operating System
macOS (Apple Silicon)
Screenshots
No response
Additional Context
The issue does not occur with other providers.