Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test_team_logging

Ishaan Jaffe0921da38c05
diff --git a/tests/test_config.py b/tests/test_config.py
index 03de4653f7d..888949982f5 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -20,6 +20,7 @@ async def config_update(session):
"success_callback": ["langfuse"],
},
"environment_variables": {
+ "LANGFUSE_HOST": os.environ["LANGFUSE_HOST"],
"LANGFUSE_PUBLIC_KEY": os.environ["LANGFUSE_PUBLIC_KEY"],
"LANGFUSE_SECRET_KEY": os.environ["LANGFUSE_SECRET_KEY"],
},
@@ -98,6 +99,7 @@ async def test_team_logging():
import langfuse
langfuse_client = langfuse.Langfuse(
+ host=os.getenv("LANGFUSE_HOST"),
public_key=os.getenv("LANGFUSE_PUBLIC_KEY"),
secret_key=os.getenv("LANGFUSE_SECRET_KEY"),
)