litellm/tests/unit/responses
mateo-berri e7bc2ed320 fix(responses): encode ids on faked Responses streams and drop unmarked reasoning on affinity pins
LTS port of the main fix cb71c3677c. A faked Responses stream (web search
interception, providers without native streaming) now encodes its response id
and, with encrypted_content_affinity on, its reasoning markers, like a real
stream. The web search wrap now passes litellm_metadata, the request context
and the call type to the faked stream like the other faked stream call sites

When the affinity check pins a request by one item's marker, encrypted
reasoning with no marker is now dropped and its summary kept, since its origin
is unknown
2026-11-20 13:15:18 -08:00
..
litellm_completion_transformation Merge remote-tracking branch 'origin/lts/1.108.x' into litellm_backport_claude_tool_search_replay_lts_1_108_x 2026-11-19 17:30:28 -08:00
mcp fix(responses): keep every MCP tool round in streaming follow-up input (#47698) 2026-11-11 14:40:38 -08:00
__init__.py
test_additional_tools.py
test_custom_tool_call.py
test_dispatch.py refactor(python-bridge): ship a signature base and read the resolved call (#45450) 2026-10-08 17:20:29 -07:00
test_metadata_codex_callback.py
test_no_duplicate_spend_logs.py
test_null_test_fix.py
test_responses_api_bridge_flag.py fix(responses): reject or drop Responses params the chat completions bridge cannot translate (#48655) 2026-11-11 14:41:37 -08:00
test_responses_api_lifecycle.py test: make 77 legacy live tests offline in litellm_utils, router_unit and responses dirs (#45298) 2026-10-08 02:37:55 -07:00
test_responses_api_request_body.py fix(bedrock_mantle): send OpenAI explicit prompt cache breakpoints for GPT-5.6 and newer (#38729) 2026-10-08 02:07:22 -07:00
test_responses_prompt_management.py fix(sdk): backport #45961 to lts/1.108.x 2026-11-07 17:55:52 -08:00
test_responses_router_cooldown.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
test_responses_streaming_iterator.py fix(proxy): bill partial Responses API streams when the client disconnects (#47611) 2026-10-27 19:57:38 -07:00
test_responses_supported_endpoints_passthrough.py
test_responses_utils.py fix(params): read a bare-string allowed_openai_params as one param name on every path 2026-11-13 17:40:44 -08:00
test_responses_websocket_all_providers.py fix(responses): write one spend-log row per native WebSocket turn (#46768) 2026-10-15 19:05:22 -07:00
test_rust_bridge_websocket.py
test_sse_output_recovery.py
test_streaming_iterator.py fix(responses): encode ids on faked Responses streams and drop unmarked reasoning on affinity pins 2026-11-20 13:15:18 -08:00
test_streaming_iterator_error_events.py fix(responses): preserve provider request IDs in streaming failure logs (#45453) 2026-10-16 00:29:11 -07:00
test_text_format_conversion.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00