mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
14 lines
338 B
Python
14 lines
338 B
Python
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")
|