mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
test - pass through langfuse requests
This commit is contained in:
parent
6af1293384
commit
40d9278dcb
1 changed files with 14 additions and 0 deletions
14
litellm/proxy/tests/test_pass_through_langfuse.py
Normal file
14
litellm/proxy/tests/test_pass_through_langfuse.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
from langfuse import Langfuse
|
||||
|
||||
langfuse = Langfuse(
|
||||
host="http://localhost:4000",
|
||||
public_key="anything",
|
||||
secret_key="anything",
|
||||
)
|
||||
|
||||
print("sending langfuse trace request")
|
||||
trace = langfuse.trace(name="test-trace-litellm-proxy-passthrough")
|
||||
print("flushing langfuse request")
|
||||
langfuse.flush()
|
||||
|
||||
print("flushed langfuse request")
|
||||
Loading…
Add table
Reference in a new issue