litellm/tests/test_litellm/batches
joshua-berri 8bbd2c0601 fix(batches): preserve spend across malformed output and metadata failures (#47184)
Backport of #47184 to stable/1.103.x.
Cherry-picked from 3fb95c8fe3 (main).
Ported from the stable/1.104.x hand-port (f7b0b09e75) onto this line's poller, which keeps LiteLLM_ManagedObjectTable and direct prisma table access. Brings the managed-files postgres_storable_json sanitizer from #45703 that this fix needs. Test files keep the line's content plus this PR's own cases.
2026-10-20 16:43:54 -07:00
..
__init__.py test(batches): add 1:1 test file scaffold for batches component paths (#30529) 2026-06-29 09:22:58 +05:30
test_batch_utils.py fix(batches): preserve spend across malformed output and metadata failures (#47184) 2026-10-20 16:43:54 -07:00
test_main.py refactor(mistral): satisfy type-discipline and basedpyright gates for files/batches configs 2026-09-09 18:47:14 -04:00
test_responses_batch_cost.py merge(litellm_internal_staging): reconcile batch observability with per-line resilience 2026-08-24 19:08:40 -04:00