mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix test_langfuse_dynamic_logging
This commit is contained in:
parent
55e3320a50
commit
ca0b404299
1 changed files with 10 additions and 2 deletions
|
|
@ -806,11 +806,15 @@ class Logging:
|
|||
and self.langfuse_public_key
|
||||
!= langFuseLogger.public_key
|
||||
)
|
||||
and (
|
||||
or (
|
||||
self.langfuse_public_key is not None
|
||||
and self.langfuse_public_key
|
||||
!= langFuseLogger.public_key
|
||||
)
|
||||
or (
|
||||
self.langfuse_host is not None
|
||||
and self.langfuse_host != langFuseLogger.langfuse_host
|
||||
)
|
||||
):
|
||||
langFuseLogger = LangFuseLogger(
|
||||
langfuse_public_key=self.langfuse_public_key,
|
||||
|
|
@ -1588,11 +1592,15 @@ class Logging:
|
|||
and self.langfuse_public_key
|
||||
!= langFuseLogger.public_key
|
||||
)
|
||||
and (
|
||||
or (
|
||||
self.langfuse_public_key is not None
|
||||
and self.langfuse_public_key
|
||||
!= langFuseLogger.public_key
|
||||
)
|
||||
or (
|
||||
self.langfuse_host is not None
|
||||
and self.langfuse_host != langFuseLogger.langfuse_host
|
||||
)
|
||||
):
|
||||
langFuseLogger = LangFuseLogger(
|
||||
langfuse_public_key=self.langfuse_public_key,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue