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 SpendLogsMetadata

Ishaan Jaffer4365fc57eef5
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index 0a6240b0f9f..c6e00720e25 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -2521,7 +2521,7 @@ class SpendLogsMetadata(TypedDict):
applied_guardrails: Optional[List[str]]
mcp_tool_call_metadata: Optional[StandardLoggingMCPToolCall]
vector_store_request_metadata: Optional[List[StandardLoggingVectorStoreRequest]]
- guardrail_information: Optional[list[StandardLoggingGuardrailInformation]]
+ guardrail_information: Optional[List[StandardLoggingGuardrailInformation]]
status: StandardLoggingPayloadStatus
proxy_server_request: Optional[str]
batch_models: Optional[List[str]]