Skip to content

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]

style(keys): keep rebind-ok reason within the line limit

ryane68ea077f169
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.py
index 705ea01f690..6d4b7f05532 100644
--- a/litellm/proxy/management_endpoints/key_management_endpoints.py
+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py
@@ -2243,7 +2243,7 @@ async def generate_service_account_key_fn(
service_account_id: Final = (
(data.metadata or {}).get("service_account_id") or data.key_alias or str(uuid.uuid4())
)
- data.metadata = { # rebind-ok: stamping the generated service_account_id onto the request model so it persists on the key
+ data.metadata = { # rebind-ok: stamp the service_account_id onto the request so it persists on the key
**(data.metadata or {}),
"service_account_id": service_account_id,
}