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 default input/output values for /audio/trancription logging
Ishaan Jaff95f063f978d7
diff --git a/litellm/integrations/langfuse.py b/litellm/integrations/langfuse.pyindex 0217f7458d9..73a8ed0d94f 100644--- a/litellm/integrations/langfuse.py+++ b/litellm/integrations/langfuse.py@@ -144,6 +144,10 @@ class LangFuseLogger:f"Langfuse Logging - Enters logging function for model {kwargs}")+ # set default values for input/output for langfuse logging+ input = None+ output = None+litellm_params = kwargs.get("litellm_params", {})litellm_call_id = kwargs.get("litellm_call_id", None)metadata = (diff --git a/litellm/proxy/proxy_config.yaml b/litellm/proxy/proxy_config.yamlindex 7a8bd9535df..f7e5a894f01 100644--- a/litellm/proxy/proxy_config.yaml+++ b/litellm/proxy/proxy_config.yaml@@ -34,4 +34,4 @@ general_settings:max_response_size_mb: 10litellm_settings:- callbacks: ["otel"]\ No newline at end of file+ success_callback: ["langfuse"]\ No newline at end of file