mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
(fix) proxy - give ui key budget = 0
This commit is contained in:
parent
93ea259498
commit
89b9ce64e0
1 changed files with 1 additions and 1 deletions
|
|
@ -3143,7 +3143,7 @@ async def auth_callback(request: Request):
|
|||
user_id = getattr(result, "first_name", "") + getattr(result, "last_name", "")
|
||||
|
||||
response = await generate_key_helper_fn(
|
||||
**{"duration": "1hr", "models": [], "aliases": {}, "config": {}, "spend": 0, "user_id": user_id, "team_id": "litellm-dashboard"} # type: ignore
|
||||
**{"duration": "1hr", "key_max_budget": 0, "models": [], "aliases": {}, "config": {}, "spend": 0, "user_id": user_id, "team_id": "litellm-dashboard"} # type: ignore
|
||||
)
|
||||
|
||||
key = response["token"] # type: ignore
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue