Update litellm/litellm_core_utils/litellm_logging.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Harshit Jain 2026-02-16 19:08:42 +05:30 committed by GitHub
parent acfddf2049
commit b753d8e413
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3152,11 +3152,12 @@ class Logging(LiteLLMLoggingBaseClass):
cb_name = self._get_callback_name(cb)
# Check if this is a Langfuse logger (vanilla or OTEL)
is_langfuse = (
cb_name.lower()
in ["langfuse", "langfuselogger", "langfuse_otel", "langfuseotellogger"]
or "langfuse" in cb_name.lower()
)
is_langfuse = cb_name.lower() in [
"langfuse",
"langfuselogger",
"langfuse_otel",
"langfuseotellogger",
]
if is_langfuse:
if langfuse_logger_found is None: