mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix - logging proxy base url to langfuse
This commit is contained in:
parent
def5ce4888
commit
788394b1ec
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ class LangFuseLogger:
|
||||||
and "proxy_base_url" in litellm._langfuse_default_tags
|
and "proxy_base_url" in litellm._langfuse_default_tags
|
||||||
):
|
):
|
||||||
proxy_base_url = os.environ.get("PROXY_BASE_URL", None)
|
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}")
|
tags.append(f"proxy_base_url:{proxy_base_url}")
|
||||||
|
|
||||||
api_base = litellm_params.get("api_base", None)
|
api_base = litellm_params.get("api_base", None)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue