mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(langfuse.py'): cleanup
This commit is contained in:
parent
375dbecb86
commit
b1cf46faaa
2 changed files with 1 additions and 3 deletions
|
@ -48,7 +48,7 @@ class LangFuseLogger:
|
|||
"secret_key": self.secret_key,
|
||||
"host": self.langfuse_host,
|
||||
"release": self.langfuse_release,
|
||||
"debug": True,
|
||||
"debug": self.langfuse_debug,
|
||||
"flush_interval": flush_interval, # flush interval in seconds
|
||||
}
|
||||
|
||||
|
|
|
@ -1033,9 +1033,7 @@ async def test_add_callback_via_key(prisma_client):
|
|||
mock_client.assert_called()
|
||||
mock_client.return_value.log_event.assert_called()
|
||||
args, kwargs = mock_client.return_value.log_event.call_args
|
||||
print("KWARGS - {}".format(kwargs))
|
||||
kwargs = kwargs["kwargs"]
|
||||
print(kwargs)
|
||||
assert "user_api_key_metadata" in kwargs["litellm_params"]["metadata"]
|
||||
assert (
|
||||
"logging"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue