mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
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:
parent
acfddf2049
commit
b753d8e413
1 changed files with 6 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue