We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7868b commit 3bbe09cCopy full SHA for 3bbe09c
tests/test_litellm/llms/volcengine/test_volcengine.py
@@ -95,6 +95,15 @@ def test_thinking_parameter_handling(self):
95
)
96
assert result_no_thinking == {}
97
98
+ # Test 6: invalid thinking type - should NOT appear in extra_body (invalid type)
99
+ result_no_thinking = config.map_openai_params(
100
+ non_default_params={"thinking": {"type": "invalid_type"}},
101
+ optional_params={},
102
+ model="doubao-seed-1.6",
103
+ drop_params=False,
104
+ )
105
+ assert result_no_thinking == {}
106
+
107
def test_e2e_completion(self):
108
from openai import OpenAI
109
0 commit comments