From 40d9278dcbfd10ca8ae7fd090990f23750a8703b Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 28 Jun 2024 17:28:21 -0700 Subject: [PATCH] test - pass through langfuse requests --- litellm/proxy/tests/test_pass_through_langfuse.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 litellm/proxy/tests/test_pass_through_langfuse.py diff --git a/litellm/proxy/tests/test_pass_through_langfuse.py b/litellm/proxy/tests/test_pass_through_langfuse.py new file mode 100644 index 00000000000..dfc91ee1b10 --- /dev/null +++ b/litellm/proxy/tests/test_pass_through_langfuse.py @@ -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")