litellm/enterprise/litellm_enterprise/proxy/common_utils
joshua-berri 0ede0e10e7
fix(batch): preserve recoverable costs and prevent poll starvation (#47190)
* fix(batch): preserve recoverable costs and rotate polling pages

* test(batch): type retirement failure regression

* fix(batch): alternate new arrivals with retry polling

* test(batch): defer polling row annotation on Python 3.12

* test(batch): reconcile fixtures with atomic metadata claims

* refactor(batch): simplify reconciliation to one bounded scan

* fix(batch): restore arrival priority during retry scans

* fix(batch): preserve recoverable jobs on unrelated resource errors

* fix: revisit recent batches before old retry backlog

---------

Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com>
2026-10-20 08:22:19 -07:00
..
__init__.py Normalize OpenAI SDK BaseModel choices/messages to avoid Pydantic serializer warnings (#18972) 2026-01-14 03:40:11 +05:30
check_batch_cost.py fix(batch): preserve recoverable costs and prevent poll starvation (#47190) 2026-10-20 08:22:19 -07:00
check_responses_cost.py fix(responses): count billed background responses toward the creator's project and per-model budgets (#47504) 2026-10-20 12:59:37 +00:00
managed_object_attribution.py fix(batch): preserve recoverable costs and prevent poll starvation (#47190) 2026-10-20 08:22:19 -07:00