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
fix _hidden_params is None case
Ishaan Jaff4c4ccaff66be
diff --git a/litellm/integrations/langfuse.py b/litellm/integrations/langfuse.pyindex cfbb67be4af..df4be3a5bcf 100644--- a/litellm/integrations/langfuse.py+++ b/litellm/integrations/langfuse.py@@ -654,6 +654,9 @@ def log_provider_specific_information_as_span(from litellm.proxy.proxy_server import premium_user_hidden_params = clean_metadata.get("hidden_params", None)+ if _hidden_params is None:+ return+vertex_ai_grounding_metadata = _hidden_params.get("vertex_ai_grounding_metadata", None)