litellm/tests/integration/providers
devin-ai-integration[bot] 657bb777fa
fix(hosted_vllm): keep reasoning_content on replayed assistant messages (#43599)
* fix(hosted_vllm): keep reasoning_content on assistant messages in _transform_messages

vLLM accepts reasoning_content (200 on the wire) and qwen/deepseek/glm
chat templates consume it, so popping it made reasoning models lose
earlier reasoning across tool loops. thinking_blocks is still removed
for vLLM compatibility.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(hosted_vllm): forward replayed reasoning_content only when it is a string

* test(integration): cover hosted_vllm reasoning_content replay across endpoints

* test(integration): require the surviving worker to serve its held requests in the sigkill chaos cell

---------

Co-authored-by: mateo <mateo@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
Co-authored-by: yassin <yassin@berri.ai>
2026-09-30 13:12:28 -07:00
..
test_anthropic_system_cache_control_wire.py
test_azure_ai_chat_wire.py
test_azure_ai_flux2_image_wire.py
test_azure_ai_rerank_auth_wire.py
test_bedrock_auth_wire.py
test_bedrock_batch_blank_s3_env_wire.py
test_bedrock_batch_files_wire.py
test_bedrock_claude_thinking_wire.py
test_bedrock_converse_client_metadata_wire.py
test_bedrock_converse_config_blocks_wire.py
test_bedrock_deepseek_reasoning_wire.py
test_bedrock_embedding_wire.py
test_bedrock_gpt5_reasoning_wire.py
test_bedrock_invoke_cache_usage_wire.py
test_bedrock_knowledge_base_user_context_wire.py
test_bedrock_mantle_codex_input_wire.py
test_bedrock_mantle_responses_wire.py
test_bedrock_mantle_wire.py
test_bedrock_marengo_embed_3_wire.py
test_bedrock_passthrough_stream_wire.py
test_bedrock_rerank_wire.py
test_bedrock_role_configuration.py
test_bedrock_thinking_tokens_wire.py
test_dashscope_chat_wire.py
test_databricks_chat_wire.py
test_databricks_oauth_wire.py
test_deepseek_vision_wire.py
test_fal_ai_chat_wire.py
test_fal_ai_image_wire.py
test_fal_ai_passthrough_wire.py
test_fal_ai_video_wire.py
test_fireworks_ai_router_slug_wire.py feat(fireworks_ai): route and list the auto, auto-instant and firerouter routers (#43641) 2026-09-28 19:08:16 -07:00
test_fireworks_ai_session_affinity_wire.py
test_hosted_vllm_reasoning_content_chaos.py fix(hosted_vllm): keep reasoning_content on replayed assistant messages (#43599) 2026-09-30 13:12:28 -07:00
test_hosted_vllm_reasoning_content_wire.py fix(hosted_vllm): keep reasoning_content on replayed assistant messages (#43599) 2026-09-30 13:12:28 -07:00
test_image_gen_drop_params_wire.py refactor(types): replace Any with proven types in 7 files (#43704) 2026-09-29 06:12:58 -07:00
test_internal_params_wire.py fix(params): validate stream_chunk_size once, before any provider call (#43222) 2026-09-26 23:01:20 +00:00
test_nvidia_nim_ranking_wire.py
test_openai_chat_wire.py
test_openai_image_edit_wire.py
test_openai_stream_text_usage_wire.py refactor(types): replace Any with proven types in 7 files (#43704) 2026-09-29 06:12:58 -07:00
test_request_boundary.py
test_rerank_latency_headers_wire.py
test_responses_bridge_incomplete.py test(ci): repair MCP Responses and budget fixtures (#43788) 2026-09-29 23:29:52 -07:00
test_responses_bridge_namespace_tools.py
test_responses_client_header_forwarding_wire.py
test_s3_wire.py
test_sagemaker_chat_wire.py
test_tencent_chat_wire.py
test_vertex_batch_output_info_wire.py
test_vertex_gemini_fragmented_stream_wire.py
test_vertex_gemini_function_call_wire.py refactor(types): replace Any with proven types in 7 files (#43704) 2026-09-29 06:12:58 -07:00
test_xai_web_search_wire.py
test_xiaomi_mimo_wire.py