Skip to content

Commit

Permalink
(fix) _update_end_user_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-jaff committed Apr 1, 2024
1 parent c9e6b05 commit d5d800e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions litellm/proxy/proxy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1700,6 +1700,7 @@ async def _update_end_user_cache():
# if user does not exist in LiteLLM_UserTable, create a new user
existing_spend = 0
max_user_budget = None
max_end_user_budget = None
if litellm.max_end_user_budget is not None:
max_end_user_budget = litellm.max_end_user_budget
existing_spend_obj = LiteLLM_EndUserTable(
Expand Down

0 comments on commit d5d800e

Please sign in to comment.