Repository navigation
Show CLIProxyAPI hub limits for Claude instances that route through the hub #26938
Closed
EhsanulHaqueSiam
started this conversation in
Ideas
Replies: 1 comment
|
Closing as a duplicate of #27235, which tracks the same request. Please follow along there. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem. With a CLIProxyAPI hub (the setup in the hub guide: https://gist.github.com/t3dotgg/59a521d2ee8d70aaf90e280c175072af), every Claude request goes through the hub, and the claude CLI reports no plan limits through a proxy. So the thread details card's Limits row always says "Unavailable" for those instances. The hub's own usage source (Settings > Providers > Usage providers) has the 5h and weekly numbers, and
/usage-limitslists them, but the card reads only the instance's own limits (ThreadDetailsUsage.tsx:54-58).Proposal. When a Claude instance's effective
ANTHROPIC_BASE_URLmatches a configured hub source's URL, the card shows that hub's limits. The hub rotates requests across its accounts, so the pooled view (whatUsageLimitsPooledalready computes) is the meaningful number, not a single account. #26937 makes the probe read the base URL from Claude's settings files, which this matching needs.Questions for maintainers
All reactions