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_aaalangfuse_logging_metadata

Ishaan Jafff77bd9a99c13
diff --git a/tests/local_testing/test_alangfuse.py b/tests/local_testing/test_alangfuse.py
index ec0cb335e40..3ccc00e8399 100644
--- a/tests/local_testing/test_alangfuse.py
+++ b/tests/local_testing/test_alangfuse.py
@@ -448,7 +448,7 @@ async def test_aaalangfuse_logging_metadata(langfuse_client):
try:
trace = langfuse_client.get_trace(id=trace_id)
except Exception as e:
- if "Trace not found within authorized project" in str(e):
+ if "not found within authorized project" in str(e):
print(f"Trace {trace_id} not found")
continue
assert trace.id == trace_id