mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix: use more descriptive flag
This commit is contained in:
parent
e60b2d9258
commit
182d63853b
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