litellm/tests/integration/sdk
ryan-crabbe-berri 3a709da0f0
fix(logging): stop keeping a full response copy nobody reads (#52524)
* test(logging): cover raw response retention

* fix(logging): stop keeping a full response copy nobody reads

* fix(logging): keep the raw response for callbacks that forward it

* fix(logging): keep the raw response when litellm.set_verbose is on

* fix(logging): treat enterprise hooks as first party and trim reader names

* fix(logging): require callbacks to be real litellm definitions
2026-11-18 11:51:01 -08:00
..
_model_cost_sdk_child.py
conftest.py
test_aiohttp_session_rebuild_wire.py
test_anthropic_common_utils_real_io.py
test_anthropic_json_tool_cut_stream_sync_sdk.py
test_anthropic_messages_bridge_mid_stream_failure_sdk.py
test_azure_common_utils_real_io.py
test_azure_prompt_shield_tuple_messages.py
test_bedrock_converse_redacted_thinking_router_sdk.py
test_bedrock_converse_stream_sync_decoder_wire.py
test_bedrock_model_discovery_sdk.py
test_bedrock_native_guardrail_shared_metadata_sdk.py
test_bedrock_native_output_fallback_sdk.py
test_bedrock_native_output_register_model_sdk.py
test_cache_control_census_pydantic_messages_sdk.py
test_caching_redis_sdk.py
test_callback_logging_cache.py
test_configuration_real_io.py
test_context_real_io.py
test_customer_model_policy_fallback_wire.py
test_databricks_json_schema_refs_sdk.py
test_device_code_login_guard_sdk.py
test_docker_real_io.py
test_drop_params_env_var_real_io.py
test_dual_cache_redis.py
test_dynamic_queue_redis.py
test_dynamic_queue_routing_redis.py
test_eager_tiktoken_load_real_io.py
test_exa_search_envelope_sdk.py
test_gemini_long_decode_sync_sdk.py
test_gemini_tts_speech_logging_sdk.py
test_generic_api_callback.py
test_google_genai_adapter_stream_usage_sdk.py
test_http2_wire.py
test_http_handler_real_io.py
test_huggingface_tokenizer_downloads_sdk.py
test_idle_upstream_reconnect_sdk.py
test_interception_converted_stream_options_sdk.py
test_jwt_signing_real_io.py
test_langfuse_otel_trace_fields_sdk.py
test_langfuse_redaction_sdk.py
test_lazy_imports_real_io.py
test_litellm_cli_real_io.py
test_local_sandbox_sdk.py
test_long_decode_real_io.py
test_model_cost_fetch_sdk.py
test_model_cost_sdk.py
test_ocr_matrix_sdk.py
test_ollama_embedding_wire.py
test_openai_realtime_http_ca_bundle_wire.py
test_openai_sdk_client_sessions_wire.py
test_owned_redis_ports.py
test_prometheus_copilot_session_auth_failure_sdk.py
test_provider_budget_redis.py
test_provider_error_and_extra_body_families_wire.py
test_raw_response_retention_sdk.py
test_redis_breaker_metrics_multiprocess_sdk.py
test_redis_cluster_iam_auth.py
test_redis_service_metrics.py
test_response_cache_sync_sdk.py
test_responses_bridge_stream_errors_sdk.py
test_responses_bridge_sync_reasoning_sdk.py
test_responses_bridge_tool_search_sdk.py
test_router_behavior_wire.py
test_router_budget_limiter_wire.py
test_router_concurrent_deployment_delete_sdk.py
test_router_cooldown_fallback_sdk.py
test_router_fuzz_regressions_rust_only_real_io.py
test_router_host_real_io.py
test_router_include_fallback_errors_wire.py
test_router_lowest_latency_wire.py
test_router_redis_tls_url.py
test_router_session_pins_redis.py
test_router_silent_model_shadow_sdk.py
test_router_sync_stream_fallback_wire.py
test_router_tool_call_stream_fallback_budget_wire.py
test_router_unsupported_params_fallback_wire.py
test_sagemaker_embedding_sdk.py
test_slack_daily_report_redis.py
test_speech_stream_sdk_wire.py
test_stream_error_api_base_sdk.py
test_stream_open_error_provider_headers_sdk.py
test_streaming_handler_real_io.py
test_sync_stream_connection_release_wire.py
test_text_completion_stream_rebuild_sdk.py
test_token_counter_real_io.py
test_tokenizer_real_io.py
test_tool_loop_responses_history_replay_sdk.py
test_tool_loop_server_tool_replay_sdk.py
test_topaz_image_variation_trailing_slash_sdk.py
test_unset_effort_tool_bridge_wire.py
test_usage_based_routing_sdk_redis_reads.py
test_usage_routing_counter_ttl.py
test_vertex_batch_row_line_errors_sdk.py
test_vertex_gemini_image_batch_cost_sdk.py
test_vertex_gemini_stream_timeout_wire.py
test_vertex_partner_count_tokens_sdk.py