litellm/tests/unit/responses
mateo-berri 03dfc042b3 fix(router): count a Responses WebSocket turn's input against deployment ITPM
A socket turn was only refused once the minute's input count already sat at
the deployment's itpm limit, so a turn whose own input pushed the count past
the limit went through while the same HTTP request got a 429. The socket open
and every later turn now hand their request to the check, which adds the
turn's input estimate before comparing, the way the HTTP route does.

Responses item-list input is now estimated through the shared
Responses-to-chat converter instead of counting as 0 on both routes.
2026-11-20 00:31:10 -08:00
..
litellm_completion_transformation fix(responses): preserve deferred tool references on Anthropic routes (#52977) 2026-11-19 15:55:31 -08:00
mcp feat(model_armor): scan MCP tool results on post_mcp_call (#51887) 2026-11-18 12:17:47 -08:00
__init__.py
test_additional_tools.py
test_custom_tool_call.py
test_metadata_codex_callback.py
test_no_duplicate_spend_logs.py
test_null_test_fix.py
test_responses_api_bridge_flag.py fix(tool_choice): accept the Responses API's flat allowed_tools layout on chat completions (#50467) 2026-11-10 13:04:06 -08:00
test_responses_api_lifecycle.py fix(responses): log the resolved provider on Responses API calls (#52622) 2026-11-18 22:34:16 +00:00
test_responses_api_request_body.py fix(responses): log the resolved provider on Responses API calls (#52622) 2026-11-18 22:34:16 +00:00
test_responses_prompt_management.py
test_responses_router_cooldown.py
test_responses_streaming_iterator.py
test_responses_supported_endpoints_passthrough.py
test_responses_utils.py fix(responses): accept a string or tuple allowed_openai_params on Responses models instead of answering 500 (#51751) 2026-11-14 04:32:38 -05:00
test_responses_websocket_all_providers.py fix(router): count a Responses WebSocket turn's input against deployment ITPM 2026-11-20 00:31:10 -08:00
test_rust_bridge_websocket.py
test_sse_output_recovery.py
test_streaming_iterator.py fix(responses): preserve incomplete status in synthetic streams (#52489) 2026-11-19 22:24:50 -08:00
test_streaming_iterator_error_events.py
test_text_format_conversion.py