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]

Update tests/litellm/proxy/test_batch_x_litellm_model_encoding.py

Cesar Garcia3426b905cedd
diff --git a/tests/litellm/proxy/test_batch_x_litellm_model_encoding.py b/tests/litellm/proxy/test_batch_x_litellm_model_encoding.py
index 01d6a8aaacd..062443d9425 100644
--- a/tests/litellm/proxy/test_batch_x_litellm_model_encoding.py
+++ b/tests/litellm/proxy/test_batch_x_litellm_model_encoding.py
@@ -33,8 +33,8 @@ def _make_mock_request(headers: dict) -> MagicMock:
def _make_batch_response(
batch_id: str = "batch_abc123",
input_file_id: str = "file-input456",
- output_file_id: str = None,
- error_file_id: str = None,
+ output_file_id: Optional[str] = None,
+ error_file_id: Optional[str] = None,
status: str = "validating",
) -> LiteLLMBatch:
"""Create a mock LiteLLMBatch response from a provider."""