Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(proxy_server.py): fix end user object check when master key used #3910

Merged
merged 2 commits into from
May 30, 2024

Conversation

krrishdholakia
Copy link
Contributor

Title

check if end user max budget exceeded, even when master key is passed in

Relevant issues

Fixes issue where end user max budget was not being checked when master key was used

Type

🐛 Bug Fix
🧹 Refactoring
📖 Documentation

Changes

  • checks for max budget exceeded in get_end_user_object

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

Added new tests for 'get_end_user_object'.

Screenshot 2024-05-29 at 6 04 36 PM

Copy link

vercel bot commented May 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm 🔄 Building (Inspect) Visit Preview 💬 Add feedback May 30, 2024 1:04am

@krrishdholakia krrishdholakia merged commit 67973e5 into main May 30, 2024
4 of 7 checks passed
@krrishdholakia krrishdholakia deleted the litellm_fix_end_user_max_budget branch May 30, 2024 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant