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]

fix inc langfuse flish time

Ishaan Jaff19d57314ee0b
diff --git a/litellm/tests/test_alangfuse.py b/litellm/tests/test_alangfuse.py
index bf475ae9757..c9e98d62d5c 100644
--- a/litellm/tests/test_alangfuse.py
+++ b/litellm/tests/test_alangfuse.py
@@ -222,7 +222,7 @@ async def test_langfuse_logging_without_request_response(stream, langfuse_client
print(chunk)
langfuse_client.flush()
- await asyncio.sleep(2)
+ await asyncio.sleep(5)
# get trace with _unique_trace_name
trace = langfuse_client.get_generations(trace_id=_unique_trace_name)
@@ -273,7 +273,7 @@ async def test_langfuse_logging_audio_transcriptions(langfuse_client):
)
langfuse_client.flush()
- await asyncio.sleep(2)
+ await asyncio.sleep(5)
# get trace with _unique_trace_name
trace = langfuse_client.get_trace(id=_unique_trace_name)