litellm/tests/integration/streaming
yuneng-jiang 856a3f62f3
test(integration): expect a pre-token invalid prompt on a bridged stream to fall back (#47020)
#46493 reads the first stream chunk inside the router's retry and fallback
chain, so an invalid prompt rejected before any token now falls back to the
configured fallback deployment instead of answering 400. The author
confirmed this is intended

The fallback test now asserts the spare serves the stream. The old 400
without a fallback attempt still holds when fallback_on_unsupported_params
is false, so that contract moves to a second proxy with that setting
2026-10-16 18:26:56 -07:00
..
faked_responses_case.py
test_assistants_evals_stream.py
test_azure_streaming_function_calls.py
test_decision_model_buffering.py
test_decision_model_pipeline_buffering.py
test_fake_stream_reasoning_wire.py
test_faked_responses_stream_bridges.py
test_faked_responses_stream_cache_replay.py
test_faked_responses_stream_chaos.py
test_faked_responses_stream_guardrail_blocks.py
test_faked_responses_stream_items.py
test_file_content_streaming.py
test_google_genai_stream_usage_settings_wire.py
test_interception_converted_stream_options.py
test_mid_stream_fallback_continuation.py
test_noma_v2_streaming_settings.py
test_openai_like_stream_usage_wire.py
test_openai_stream_passthrough_fields.py
test_responses_bridge_stream_chaos.py
test_responses_bridge_stream_errors.py
test_responses_top_level_error_events.py
test_stream_contracts.py
test_stream_open_error_provider_headers_proxy.py
test_stream_parallel_slot_release.py
test_ttft_keepalive.py