From dd8d23be6249678b2d44714868a0a549050d3e27 Mon Sep 17 00:00:00 2001 From: Fadil Rahman <87557055+fadil4u@users.noreply.github.com> Date: Fri, 30 May 2025 04:04:16 +0530 Subject: [PATCH] Removed syntax error from docs (#11242) --- docs/my-website/docs/batches.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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",