litellm/tests/unit/proxy
joshua-berri 712dc21192 fix(batches): retry confirmed pre-accounting failures (#47625)
Backport of #47625 to stable/1.104.x.
Cherry-picked from 6564a490f4 (main).
Ported by hand onto the line's spend and budget code: the charge-once helpers move from model_max_budget_limiter into router_utils.batch_utils as on main; RouterBudgetLimiting keeps the line's websocket skip and uses the line's duration_in_seconds window for the batch marker TTL; the write_started mark covers budget reservations only, since the search free-tier allowance (#47494) is not on this line. Tests adapted to the line's _ProxyDBLogger name; the search-allowance test is dropped for the same reason.
2026-10-20 17:21:34 -07:00
..
_experimental
auth
common_utils fix(batches): retry confirmed pre-accounting failures (#47625) 2026-10-20 17:21:34 -07:00
db chore(release): backport #44283 and part of #44229 to rc/1.104.0 (#44312) 2026-10-02 19:15:58 -07:00
decisions_endpoints docs(proxy): describe /v1/decisions and /v1/systemone in Swagger UI (#45838) 2026-10-11 01:02:55 +00:00
example_config_yaml
google_endpoints fix(count_tokens): normalize Google system parts and null tools 2026-10-19 16:53:38 -07:00
hooks fix(router): await budget redis pipeline before sync reads (internal copy of #32618) (#43125) 2026-09-24 22:27:13 -07:00
management_endpoints chore(release): backport #44283 and part of #44229 to rc/1.104.0 (#44312) 2026-10-02 19:15:58 -07:00
management_helpers chore(release): backport #44283 and part of #44229 to rc/1.104.0 (#44312) 2026-10-02 19:15:58 -07:00
middleware
public_endpoints
response_polling
spend_tracking
test_configs
__init__.py
conftest.py
test_aproxy_startup.py
test_custom_callback_input.py
test_custom_logger_s3_gcs.py
test_custom_tokenizer_bug.py fix(count_tokens): narrow stable backport to the October 19 patch 2026-10-19 14:03:42 -07:00
test_db_schema_changes.py
test_deprecated_key_grace_period.py
test_get_favicon.py
test_get_image.py
test_prisma_client_backoff_retry.py
test_prompt_test_endpoint.py
test_proxy_config_unit_test.py
test_proxy_custom_auth.py
test_proxy_reject_logging.py test: fix three order-dependent and timing-flaky tests (#44271) (#44280) 2026-10-02 16:35:44 -07:00
test_proxy_server.py chore: backport CI fixes, #43206 and Rust changes to rc/1.104.0 (#43338) 2026-09-26 14:26:59 -07:00
test_proxy_setting_guardrails.py
test_proxy_token_counter.py fix(proxy): restore legacy token count input precedence 2026-10-19 17:50:09 -07:00
test_proxy_utils.py test: fix three order-dependent and timing-flaky tests (#44271) (#44280) 2026-10-02 16:35:44 -07:00
test_reducto_ocr_route.py
test_response_polling_pre_call_checks.py
test_server_root_path.py
test_ui_path_detection.py
test_unit_test_proxy_hooks.py
test_update_spend.py
test_zero_cost_model_budget_bypass.py
vertex_key.json