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 test_async_create_batch

Ishaan Jaffb60efd4646d0
diff --git a/tests/batches_tests/test_openai_batches_and_files.py b/tests/batches_tests/test_openai_batches_and_files.py
index c1ab45d6aea..06264823315 100644
--- a/tests/batches_tests/test_openai_batches_and_files.py
+++ b/tests/batches_tests/test_openai_batches_and_files.py
@@ -297,7 +297,7 @@ async def test_async_create_batch(provider):
)
print("cancel_batch_response=", cancel_batch_response)
- if random.randint(1, 20) == 1:
+ if random.randint(1, 15) == 1:
print("Running random cleanup of Azure files and models...")
cleanup_azure_files()
cleanup_azure_ft_models()