(bug) Settings > Usage opens AI providers when billing is off
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- next.js, typescript
- Domain
- frontend
Research direction
Start by tracing the Settings sidebar’s Organization links and the /m Settings page’s handling of the ?tab=billing query when billing is disabled (NEXT_PUBLIC_AGENTA_BILLING_ENABLED=false). Compare the Usage link and fallback behavior across the reported versions if relevant. Done when Usage is either hidden with billing off or opens a usable page without billing, and the behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Description
On a deployment where billing is turned off (NEXT_PUBLIC_AGENTA_BILLING_ENABLED=false, EE edition), the Settings sidebar in /m still lists Usage under Organization. When I click it, I expect a usage page. Instead the page shows AI providers, and the URL keeps ?tab=billing.
Steps (seen on staging, v0.122.3, which runs with billing off):
- Sign in on
/mand open Settings. - Click Usage in the Organization group.
- The AI providers page opens.
The same link opened Preferences in v0.122.2, so this is not new in v0.122.3; only the fallback page changed. Either the link should not be listed when billing is off, or it should open a page that works without billing.
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 690
- Avg merge
- 21h 42m
- Merged PRs (30d)
- 459
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Agenta-AI/agenta
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Agenta-AI/agenta#7468 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
(bug) The Stop button disappears for a moment before an approval card showsMay be free again @rishu685 claimed this 8 days ago, and no pull request is open. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Agenta-AI/agenta#7446 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Agenta-AI/agenta#7441 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
No CI job runs the mobile app's unit testsPossibly taken @Mahaboob-Ashraf claimed this 8 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Agenta-AI/agenta#7326 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Agenta-AI/agenta#7074 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
All issues in Agenta-AI/agenta
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
melgarafael/DeskcommCRM#3000 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
callstackincubator/simlock#639 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
aws/agentcore-cli#2606 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 7 days
-
ai-driven-qa bug Cosmetic
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day