mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Add test assertion for deepseek.v3-v1:0 native structured output
This commit is contained in:
parent
d7e55bf105
commit
0ef8eb6121
1 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue