Add test assertion for deepseek.v3-v1:0 native structured output

This commit is contained in:
Nicholas Gigliotti 2026-03-16 20:58:40 -04:00
parent d7e55bf105
commit 0ef8eb6121

View file

@ -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")