litellm/tests/unit/proxy/spend_tracking
devin-ai-integration[bot] e32b25817f
fix(proxy): keep tool payloads and logprobs unmasked in stored spend logs (#44075)
* fix(proxy): keep tool payloads and logprobs unmasked in stored spend logs

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(proxy): audit cells for stored spend-log tool payloads and logprobs

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(proxy): assert cache-hit spend-log rows

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(proxy): handle model-list requests in spend-log audit

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(proxy): assert unauthenticated requests never reach upstream

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: yucheng <yucheng@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-01 23:57:11 -07:00
..
__init__.py
test_baseline_accounting.py
test_budget_reservation.py
test_budget_reservation_redis_failure.py
test_carried_budget_state.py
test_cloudzero_endpoints.py
test_compression_savings.py
test_input_tokens.py
test_key_metadata_recovery.py
test_ptu_feature_flag.py
test_ptu_flat_cost_rollup.py
test_savings.py
test_search_api_logging.py
test_spend_capture_rate.py
test_spend_counter_batch.py
test_spend_event.py
test_spend_event_producer.py
test_spend_log_error_logger.py
test_spend_management_endpoints.py
test_spend_query_optimization.py
test_spend_tracking_utils.py fix(proxy): keep tool payloads and logprobs unmasked in stored spend logs (#44075) 2026-10-01 23:57:11 -07:00