mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
update_batch_in_database now fetches the batch row by unified_object_id when the caller omits db_batch_object, so the cancel endpoint attributes newly registered output and error files to the batch owner and returns unified managed ids instead of raw provider ids. Idempotent cancels that do not change the stored status also skip the redundant DB write now. Repair two pre-existing mock tests in test_openai_batches_endpoint.py that asserted values inside lazy percent-format log strings, and give the cancel test's prisma mock an awaitable find_first. |
||
|---|---|---|
| .. | ||
| bedrock_batch_completions.jsonl | ||
| input.jsonl | ||
| input_azure.jsonl | ||
| openai_batch_completions.jsonl | ||
| openai_fine_tuning.jsonl | ||
| out.jsonl | ||
| out_azure.jsonl | ||
| test_batch_rate_limiting_integration.jsonl | ||
| test_bedrock_batches_api.py | ||
| test_e2e_openai_responses_api.py | ||
| test_openai_batches_endpoint.py | ||
| test_openai_files_endpoints.py | ||
| test_openai_fine_tuning.py | ||
| test_responses_websocket_proxy_e2e.py | ||