Skip to content

feat: hide budgets UI when ENABLE_LITELLM is off - #520

Draft
dylan-openhands wants to merge 1 commit into
enable-litellm-flag-backendfrom
enable-litellm-flag-frontend
Draft

dylan-openhands wants to merge 1 commit into
enable-litellm-flag-backendfrom
enable-litellm-flag-frontend

Conversation

@dylan-openhands

@dylan-openhands dylan-openhands commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

HUMAN:

  • A human has tested these changes.

AGENT:


Why

With ENABLE_LITELLM=false the budget screens have no backend to talk to. Middle of the stack #519 → #520 → #521.

Summary

  • Budgets and Your Budget render a FeatureDisabledScreen ("Please enable LiteLLM to use this feature") and skip their data fetches.
  • Their settings nav entries are hidden when the flag is off.

How to Test

  • cd frontend && npx vitest run __tests__/components/features/budgets
  • With ENABLE_LITELLM=false, open Settings: Budgets / Your Budget nav items are gone, and visiting the routes directly shows the placeholder.

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

Enterprise server image for this PR:

ghcr.io/openhands/enterprise-server:sha-6fccba9

@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@dylan-openhands
dylan-openhands force-pushed the enable-litellm-flag-frontend branch from 67b7e01 to cc64a93 Compare September 26, 2026 19:52
Budgets and Your Budget render a FeatureDisabledScreen and skip their fetches;
their nav entries are hidden.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant