litellm/tests/logging_callback_tests
Ishaan Jaff 4d941c914e
[Feat] Responses API Session Handling - Multi media support (#13347)
* rename ResponsesSessionHandler

* use ResponsesSessionHandler

* test session handler

* refactor ResponsesSessionHandler

* fix get_proxy_server_request_from_spend_log

* use constant for LITELLM_TRUNCATED_PAYLOAD_FIELD

* add _should_check_cold_storage_for_full_payload

* add get_class_type_for_custom_logger_name

* get_active_custom_logger_for_callback_name

* add get_proxy_server_request_from_cold_storage to CustomLogger

* add ColdStorageHandler

* start using cold storage integration

* add get_proxy_server_request_from_cold_storage

* fixes from manual testing

* s3 v2 fix getting region name

* ChatCompletionImageUrlObject

* use _get_configured_cold_storage_custom_logger

* fixes for _should_check_cold_storage_for_full_payload

* fix _download_object_from_s3

* test_s3_v2_with_cold_storage

* add cold_storage_object_key to StandardLoggingMetadata

* use get_proxy_server_request_from_cold_storage_with_object_key

* add cold_storage_object_key to SpendLogsMetadata

* add cold_storage_object_key

* get_proxy_server_request_from_cold_storage_with_object_key

* use get_proxy_server_request_from_cold_storage_with_object_key

* test responses API

* add get_proxy_server_request_from_cold_storage_with_object_key

* session handler fixes

* test session handler

* fix ruff checks

* _download_object_from_s3

* cleanup

* test

* lint fix

* test_e2e_cold_storage_successful_retrieval

* test_e2e_generate_cold_storage_object_key_successful

* test_async_gcs_pub_sub_v1

* test fix

* test fix

* test fix

* test_standard_logging_metadata_has_cold_storage_object_key_field

* test_sanitize_request_body_for_spend_logs_payload_basic

* test_transform_input_image_item_to_image_item_with_image_data
2025-08-07 10:59:53 -07:00
..
gcs_pub_sub_body MCP - usage tracking (#12397) 2025-07-08 22:08:16 -07:00
langfuse_expected_request_body fix(utils.py): support non default params for audio transcription (#11212) 2025-05-28 22:24:02 -07:00
base_test.py
conftest.py
create_mock_standard_logging_payload.py
gettysburg.wav
log.txt
test_alerting.py [Feat] Performance - Don't create 1 task for every hanging request alert (#11385) 2025-06-03 21:12:54 -07:00
test_amazing_s3_logs.py [Feat] Responses API Session Handling - Multi media support (#13347) 2025-08-07 10:59:53 -07:00
test_assemble_streaming_responses.py
test_azure_blob_storage.py
test_bedrock_knowledgebase_hook.py [Refactor] Vector Stores - Use class VectorStorePreCallHook for all Vector Store Integrations (#12715) 2025-07-17 16:31:58 -07:00
test_built_in_tools_cost_tracking.py test_openai_responses_api_web_search_cost_tracking 2025-05-03 20:22:42 -07:00
test_datadog_llm_obs.py [Feat] Allow redacting message / response content for specific logging integrations - DD LLM Observability (#13158) 2025-07-31 16:44:16 -07:00
test_datadog.py Ensure message redaction works for responses API logging (#12291) 2025-07-04 15:11:20 -07:00
test_gcs_pub_sub.py [Feat] Responses API Session Handling - Multi media support (#13347) 2025-08-07 10:59:53 -07:00
test_generic_api_callback.py fix: pass application/json for GenericAPILogger (#10772) 2025-05-12 14:15:33 -07:00
test_humanloop_unit_tests.py
test_langfuse_e2e_test.py Litellm dev 05 26 2025 p1 (#11165) 2025-05-26 22:00:48 -07:00
test_langfuse_unit_tests.py test: fixes 2025-05-31 12:42:56 -07:00
test_langsmith_unit_test.py
test_log_db_redis_services.py
test_logging_redaction_e2e_test.py add fix for redaction (#13005) 2025-07-25 17:48:48 -07:00
test_moderations_api_logging.py [Bug Fix] Fix model_group tracked for /v1/messages and /moderations (#11933) 2025-06-20 14:51:50 -07:00
test_opentelemetry_unit_tests.py Fix otel - follow genai semantic conventions + support 'instructions' param for tts (#10608) 2025-05-06 21:57:01 -07:00
test_otel_logging.py [Feat] Responses API Session Handling - Multi media support (#13347) 2025-08-07 10:59:53 -07:00
test_pagerduty_alerting.py [Refactor] Make Pagerduty a free feature (#10857) 2025-05-15 10:12:06 -07:00
test_spend_logs.py [Feat] Responses API - Add session management support for non-openai models (#10321) 2025-04-25 23:24:24 -07:00
test_sqs_logger.py [Feat] Add new AWS SQS Logging Integration (#12176) 2025-06-30 14:02:49 -07:00
test_standard_logging_payload.py [Feat] Responses API - Add session management support for non-openai models (#10321) 2025-04-25 23:24:24 -07:00
test_token_counting.py [Feat] Use aiohttp transport by default - 97% lower median latency (#11097) 2025-05-23 22:55:35 -07:00
test_unit_test_litellm_logging.py
test_unit_tests_init_callbacks.py feat(integrations): allow setting of braintrust callback base url (#13368) 2025-08-07 08:40:11 -07:00
test_view_request_resp_logs.py