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]

Removed syntax error from docs (#11242)

Fadil Rahmandd8d23be6249
diff --git a/docs/my-website/docs/batches.md b/docs/my-website/docs/batches.md
index 4918e30d1fd..7029697699c 100644
--- a/docs/my-website/docs/batches.md
+++ b/docs/my-website/docs/batches.md
@@ -78,8 +78,9 @@ curl http://localhost:4000/v1/batches \
**Create File for Batch Completion**
```python
-from litellm
+import litellm
import os
+import asyncio
os.environ["OPENAI_API_KEY"] = "sk-.."
@@ -97,8 +98,9 @@ print("Response from creating file=", file_obj)
**Create Batch Request**
```python
-from litellm
+import litellm
import os
+import asyncio
create_batch_response = await litellm.acreate_batch(
completion_window="24h",