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
chore: reformat headroom stream constant and regenerate stale openapi snapshot
shivambff46fd782c7
diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.jsonindex e30750ef565..1963c7799a2 100644--- a/litellm/proxy/_lazy_openapi_snapshot.json+++ b/litellm/proxy/_lazy_openapi_snapshot.json@@ -15038,6 +15038,17 @@}],"title": "Upstream Resource"+ },+ "upstream_token_header": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Upstream Token Header"}},"title": "MCPCredentials",@@ -17518,6 +17529,17 @@}],"title": "Upstream Resource"+ },+ "upstream_token_header": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Upstream Token Header"}},"title": "MCPCredentials",@@ -20352,6 +20374,17 @@}],"title": "Upstream Resource"+ },+ "upstream_token_header": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Upstream Token Header"}},"title": "MCPCredentials",@@ -23699,6 +23732,17 @@}],"title": "Upstream Resource"+ },+ "upstream_token_header": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Upstream Token Header"}},"title": "MCPCredentials",diff --git a/litellm/types/integrations/custom_logger.py b/litellm/types/integrations/custom_logger.pyindex fd4648bff14..9a714e1724e 100644--- a/litellm/types/integrations/custom_logger.py+++ b/litellm/types/integrations/custom_logger.py@@ -6,9 +6,7 @@ CHAT_COMPLETION_AGENTIC_SURFACE: Final = "chat_completions"RESPONSES_AGENTIC_SURFACE: Final = "responses"CODE_INTERPRETER_INTERCEPTION_PREFIX: Final = "_code_interpreter_interception"HEADROOM_INTERCEPTION_PREFIX: Final = "_headroom_interception"-HEADROOM_CONVERTED_STREAM_KEY: Final = (- f"{HEADROOM_INTERCEPTION_PREFIX}_converted_stream"-)+HEADROOM_CONVERTED_STREAM_KEY: Final = f"{HEADROOM_INTERCEPTION_PREFIX}_converted_stream"NON_CODE_INTERPRETER_INTERCEPTION_INTERNAL_PREFIXES: Final = frozenset(("_websearch_interception",diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.tsindex c124cc2e9c8..03a4d1142f8 100644--- a/ui/litellm-dashboard/src/lib/http/schema.d.ts+++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts@@ -30208,6 +30208,8 @@ export interface components {token_exchange_profile?: string | null;/** Upstream Resource */upstream_resource?: string | null;+ /** Upstream Token Header */+ upstream_token_header?: string | null;};/*** MCPEnvVar