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]

Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_lit_5730_batches_completion_e2e

mateo-berri73e1863d9727
diff --cc tests/e2e/batches/batch_client.py
index 21a56f3398f,968a357e8af..31e49f22450
--- a/tests/e2e/batches/batch_client.py
+++ b/tests/e2e/batches/batch_client.py
@@@ -40,21 -40,17 +40,28 @@@ class FileObject(BaseModel)
class FileList(BaseModel):
+ """GET /v1/files page. The cursors are modelled because they are part of the
+ page's isolation contract: they must address rows in `data`, never rows the
+ caller was not allowed to see."""
+
object: str | None = None
data: list[FileObject] = []
+ first_id: str | None = None
+ last_id: str | None = None
+ has_more: bool | None = None
+class BatchErrorItem(BaseModel):
+ code: str | None = None
+ line: int | None = None
+ message: str | None = None
+
+
+class BatchErrorList(BaseModel):
+ object: str | None = None
+ data: list[BatchErrorItem] = []
+
+
class BatchObject(BaseModel):
id: str
object: str | None = None