openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Persistent "included budget is complete" warning appears even when using custom API key

Open Yang20260312 opened this issue 6 months ago • 3 comments

Summary

I am using my own custom API key, but the app keeps showing a "Budget Complete" error.

Image

Yang20260312 avatar May 18 '26 04:05 Yang20260312

+1

limi124 avatar May 18 '26 04:05 limi124

+1

smartsong avatar May 18 '26 04:05 smartsong

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.ts still derives shouldShowBudgetCompletedMessage, isAtLimit, and isRateLimited only from /teams usage/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.

honor2030 avatar May 18 '26 07:05 honor2030