mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
add generate_key_helper_fn
This commit is contained in:
parent
412f7e396a
commit
12109c7d7e
1 changed files with 2 additions and 0 deletions
|
|
@ -2040,6 +2040,7 @@ async def generate_key_helper_fn( # noqa: PLR0915
|
|||
prompts: Optional[list] = None,
|
||||
teams: Optional[list] = None,
|
||||
organization_id: Optional[str] = None,
|
||||
project_id: Optional[str] = None,
|
||||
table_name: Optional[Literal["key", "user"]] = None,
|
||||
send_invite_email: Optional[bool] = None,
|
||||
created_by: Optional[str] = None,
|
||||
|
|
@ -2143,6 +2144,7 @@ async def generate_key_helper_fn( # noqa: PLR0915
|
|||
"max_budget": key_max_budget,
|
||||
"user_id": user_id,
|
||||
"team_id": team_id,
|
||||
"project_id": project_id,
|
||||
"max_parallel_requests": max_parallel_requests,
|
||||
"metadata": metadata_json,
|
||||
"tpm_limit": tpm_limit,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue