Ishaan Jaffer
443566d4f5
test fixes
2026-03-30 16:59:27 -07:00
Ishaan Jaffer
28afbc152f
test_async_gcs_pub_sub_v1
2026-03-30 16:52:56 -07:00
Sameer Kankute
828ce40eac
Fix test_async_gcs_pub_sub_v1
2026-02-26 10:46:01 +05:30
Ishaan Jaffer
b7798b7f7c
fix metadata.cost_breakdown
2026-01-07 14:17:08 +05:30
yuneng-jiang
c2f79681b6
Fixing test 2
2025-12-16 13:44:53 -08:00
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
Ishaan Jaff
331e784db4
[Feat] Responses API - Add session management support for non-openai models ( #10321 )
...
* add session id in spendLogs
* fix log proxy server request as independant field
* use trace id for SpendLogs
* add _ENTERPRISE_ResponsesSessionHandler
* use _ENTERPRISE_ResponsesSessionHandler
* working session_ids
* working session management
* working session_ids
* test_async_gcs_pub_sub_v1
* test_spend_logs_payload_e2e
* working session_ids
* test_get_standard_logging_payload_trace_id
* test_get_standard_logging_payload_trace_id
* test_gcs_pub_sub.py
* fix all linting errors
* test_spend_logs_payload_with_prompts_enabled
* _ENTERPRISE_ResponsesSessionHandler
* _ENTERPRISE_ResponsesSessionHandler
* expose session id on ui
* get spend logs by session
* add sessionSpendLogsCall
* add session handling
* session logs
* ui session details
* fix on rowExpandDetails
* ui working sessions
2025-04-25 23:24:24 -07:00
Krrish Dholakia
b4f2b3dad1
test: update test to be more robust to usage updates
2025-04-19 09:26:26 -07:00
Krish Dholakia
0c5b4aa96d
feat(realtime/): add token tracking + log usage object in spend logs … ( #9843 )
...
* feat(realtime/): add token tracking + log usage object in spend logs metadata
* test: fix test
* test: update tests
* test: update testing
* test: update test
* test: update test
* test: update test
* test: update test
* test: update tesdt
* test: update test
2025-04-09 22:11:00 -07:00
Ishaan Jaff
6a0ff944e4
assert_gcs_pubsub_request_matches_expected_standard_logging_payload
2025-03-24 15:41:05 -07:00
Ishaan Jaff
74caef0843
(Feat) - Add GCS Pub/Sub Logging integration for sending DB SpendLogs to BigQuery ( #7976 )
...
* add pub_sub
* fix custom batch logger for GCS PUB/SUB
* GCS_PUBSUB_PROJECT_ID
* e2e gcs pub sub
* add gcs pub sub
* fix logging
* add GcsPubSubLogger
* fix pub sub
* add pub sub
* docs gcs pub / sub
* docs on pub sub controls
* test_gcs_pub_sub
* fix publish_message
* test_async_gcs_pub_sub
* test_async_gcs_pub_sub
2025-01-24 20:57:20 -08:00