litellm/tests/logging_callback_tests
Krish Dholakia 4330ef8e81
Fix batches api cost tracking + Log batch models in spend logs / standard logging payload (#9077)
* feat(batches/): fix batch cost calculation - ensure it's accurate

use the correct cost value - prev. defaulting to non-batch cost

* feat(batch_utils.py): log batch models to spend logs + standard logging payload

makes it easy to understand how cost was calculated

* fix: fix stored payload for test

* test: fix test
2025-03-08 11:47:25 -08:00
..
gcs_pub_sub_body
langfuse_expected_request_body
base_test.py
conftest.py
create_mock_standard_logging_payload.py
gettysburg.wav
test_alerting.py
test_amazing_s3_logs.py
test_assemble_streaming_responses.py
test_azure_blob_storage.py
test_custom_guardrail.py
test_datadog_llm_obs.py
test_datadog.py
test_gcs_pub_sub.py
test_humanloop_unit_tests.py
test_langfuse_e2e_test.py
test_langfuse_unit_tests.py
test_langsmith_unit_test.py
test_log_db_redis_services.py
test_logging_redaction_e2e_test.py
test_opentelemetry_unit_tests.py
test_otel_logging.py
test_pagerduty_alerting.py
test_prometheus_unit_tests.py
test_spend_logs.py
test_standard_logging_payload.py
test_token_counting.py
test_unit_test_litellm_logging.py
test_unit_tests_init_callbacks.py
test_view_request_resp_logs.py