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(langfuse.py'): cleanup
Krrish Dholakiab1cf46faaa00
diff --git a/litellm/integrations/langfuse.py b/litellm/integrations/langfuse.pyindex 7a127f912b6..df4be3a5bcf 100644--- a/litellm/integrations/langfuse.py+++ b/litellm/integrations/langfuse.py@@ -48,7 +48,7 @@ class LangFuseLogger:"secret_key": self.secret_key,"host": self.langfuse_host,"release": self.langfuse_release,- "debug": True,+ "debug": self.langfuse_debug,"flush_interval": flush_interval, # flush interval in seconds}diff --git a/litellm/tests/test_proxy_server.py b/litellm/tests/test_proxy_server.pyindex b943096396f..00c58d1243a 100644--- a/litellm/tests/test_proxy_server.py+++ b/litellm/tests/test_proxy_server.py@@ -1033,9 +1033,7 @@ async def test_add_callback_via_key(prisma_client):mock_client.assert_called()mock_client.return_value.log_event.assert_called()args, kwargs = mock_client.return_value.log_event.call_args- print("KWARGS - {}".format(kwargs))kwargs = kwargs["kwargs"]- print(kwargs)assert "user_api_key_metadata" in kwargs["litellm_params"]["metadata"]assert ("logging"