openhuman
openhuman copied to clipboard
Persistent "included budget is complete" warning appears even when using custom API key
Summary
I am using my own custom API key, but the app keeps showing a "Budget Complete" error.
+1
+1
I took a look at current main and the linked provider-routing work. This looks like the same root cause now covered by #2053.
Evidence:
- On
origin/main,app/src/hooks/useUsageState.tsstill derivesshouldShowBudgetCompletedMessage,isAtLimit, andisRateLimitedonly from/teamsusage/budget values (cycleBudgetUsd,remainingUsd,cycleLimit5hr, etc.). It does not inspect the saved LLM routing/provider settings before showing the “included budget is complete” state. - #2053 changes that hook to also load AI settings and suppress the budget/rate-limit gate when all chat workloads route away from OpenHuman-hosted usage to a user-supplied provider such as OpenRouter/OpenAI/Anthropic/local Ollama.
- #2053 explicitly links both #2040 and #2041 and currently has green CI checks; it is open/mergeable but still blocked on repository-side merge policy/review.
So I would avoid opening a competing code PR here. Recommended next step is to track/review #2053 as the canonical fix, then re-test the custom-key flow after it lands.