forked from phoenix/litellm-mirror
fix: use more descriptive flag
This commit is contained in:
parent
b7e31638fd
commit
ec0b511119
3 changed files with 5 additions and 4 deletions
|
@ -88,8 +88,8 @@ async def new_user(
|
|||
)
|
||||
|
||||
if "max_budget" in data_json and data_json["max_budget"] is None:
|
||||
if litellm.max_user_budget is not None:
|
||||
data_json["max_budget"] = litellm.max_user_budget
|
||||
if litellm.max_internal_user_budget is not None:
|
||||
data_json["max_budget"] = litellm.max_internal_user_budget
|
||||
|
||||
response = await generate_key_helper_fn(request_type="user", **data_json)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue