litellm/tests/test_litellm/proxy/spend_tracking
yuneng-jiang de1517411f [Feature] UI - Logs: Show retry count for requests
Add attempted_retries and max_retries fields to SpendLogsMetadata so the
Logs page can display how many retries occurred for each request. The
router now injects retry tracking metadata before each make_call, which
flows through the logging pipeline into the spend logs metadata JSON.

The UI shows "Not Retried" when the first attempt succeeded, and
"N / M" (attempted / max) when retries occurred. The field is hidden
for requests that did not go through the router.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:51:20 -08:00
..
test_cloudzero_endpoints.py Adding backend 2025-12-19 13:04:59 -08:00
test_spend_management_endpoints.py fix: session grouping broken for dict rows from query_raw (#21435) 2026-02-17 17:21:17 -08:00
test_spend_query_optimization.py fix(sql): Optimize SpendLogs queries to use timestamp filtering for index usage (#17504) 2025-12-04 21:52:57 -08:00
test_spend_tracking_utils.py [Feature] UI - Logs: Show retry count for requests 2026-02-20 13:51:20 -08:00