From 788394b1ececf78600e996342efc3c4a724a7fe1 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 19 Apr 2024 16:20:46 -0700 Subject: [PATCH] fix - logging proxy base url to langfuse --- litellm/integrations/langfuse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/integrations/langfuse.py b/litellm/integrations/langfuse.py index 3322fd4c474..38ab9c994b2 100644 --- a/litellm/integrations/langfuse.py +++ b/litellm/integrations/langfuse.py @@ -306,7 +306,7 @@ class LangFuseLogger: and "proxy_base_url" in litellm._langfuse_default_tags ): proxy_base_url = os.environ.get("PROXY_BASE_URL", None) - if proxy_base_url: + if proxy_base_url is not None: tags.append(f"proxy_base_url:{proxy_base_url}") api_base = litellm_params.get("api_base", None)