test - pass through langfuse requests

This commit is contained in:
Ishaan Jaff 2024-06-28 17:28:21 -07:00
parent 6af1293384
commit 40d9278dcb

View 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")