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]

fix(key_delete): exclude budget_limits from deleted verification token record

Ishaan Jaffer574633fcf152
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.py
index df8f335c55f..028b765e021 100644
--- a/litellm/proxy/management_endpoints/key_management_endpoints.py
+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py
@@ -3429,6 +3429,7 @@ def _transform_verification_tokens_to_deleted_records(
"litellm_organization_table",
"object_permission",
"id",
+ "budget_limits",
):
record.pop(rel_key, None)