You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: The max request on the budget rules is not working #1452
When budget rules applied to a user with max request is 2 requests, when that user already passed the max 2 request, nothing happened.
Steps to reproduce
Login to tale
Navigate to the setting page
Open "Governance" Tabs
Open "Budgets" sub tab
Create new budget rule
Set the max request for 2, and the warning threshold for 50%
Submit the form
Login to the user that applied to the budget rule earlier.
Navigate to the Chat with AI, send 3 message.
Expected behavior
When the mx request is already passed, the user should not be able to make any request to the ai, with notification displayed that the limit reached and the extimation time that user will be able to make a request again, for every single request sent after the limit reached.
Affected service
Platform
Version or commit
0.2.26
Browser and OS
No response
Relevant log output
Screenshots or recordings
(Screeshot of the budget rule list, showing the max request applied)
(Screenshot of the Chat with AI page, showing that the user already passed the max 3 request)
Before submitting
I searched existing issues and this hasn't been reported yet.
Activity
fix(platform): enforce budget max request limits for all period types (…