The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
add generate_key_helper_fn
Ishaan Jaffer12109c7d7eda
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.pyindex a8def13869f..83d8d1e5125 100644--- a/litellm/proxy/management_endpoints/key_management_endpoints.py+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py@@ -2040,6 +2040,7 @@ async def generate_key_helper_fn( # noqa: PLR0915prompts: 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,