mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
fix(proxy_server.py): fix merge errors
This commit is contained in:
parent
cf588a97fe
commit
605cfecf27
1 changed files with 11 additions and 18 deletions
|
@ -910,11 +910,6 @@ async def update_database(
|
|||
max_budget=max_user_budget,
|
||||
user_email=None,
|
||||
)
|
||||
if existing_spend_obj is None:
|
||||
existing_spend = 0
|
||||
existing_spend_obj = LiteLLM_UserTable(
|
||||
user_id=id, spend=0, max_budget=None, user_email=None
|
||||
)
|
||||
else:
|
||||
existing_spend = existing_spend_obj.spend
|
||||
|
||||
|
@ -927,9 +922,7 @@ async def update_database(
|
|||
key=id, value=existing_spend_obj.json()
|
||||
)
|
||||
|
||||
verbose_proxy_logger.debug(
|
||||
f"new cost: {existing_spend_obj.spend}"
|
||||
)
|
||||
verbose_proxy_logger.debug(f"new cost: {existing_spend_obj.spend}")
|
||||
data_list.append(existing_spend_obj)
|
||||
|
||||
# Update the cost column for the given user id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue