From 0ef8eb612106f4d20d268a8c585decbd76676b15 Mon Sep 17 00:00:00 2001 From: Nicholas Gigliotti Date: Mon, 16 Mar 2026 20:58:40 -0400 Subject: [PATCH] Add test assertion for deepseek.v3-v1:0 native structured output --- .../llms/bedrock/chat/test_converse_transformation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py b/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py index 2b57fd23a3b..a26b2a8bd64 100644 --- a/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py +++ b/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py @@ -2669,6 +2669,8 @@ def test_supports_native_structured_outputs(): assert config._supports_native_structured_outputs("minimax.minimax-m2") assert config._supports_native_structured_outputs("moonshot.kimi-k2-thinking") assert config._supports_native_structured_outputs("nvidia.nemotron-nano-3-30b") + # DeepSeek: old substring "deepseek-v3.1" didn't match real ID + assert config._supports_native_structured_outputs("deepseek.v3-v1:0") # Unsupported models -- should fall back to tool-call approach assert not config._supports_native_structured_outputs("anthropic.claude-3-5-sonnet-20241022-v2:0")