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 df5db48 commit f8c9009Copy full SHA for f8c9009
tests/test_litellm/llms/volcengine/test_volcengine.py
@@ -104,6 +104,15 @@ def test_thinking_parameter_handling(self):
104
)
105
assert result_no_thinking == {}
106
107
+ # Test 7: invalid thinking type - should NOT appear in extra_body (value is None)
108
+ result_no_thinking = config.map_openai_params(
109
+ non_default_params={"thinking": {"type": None}},
110
+ optional_params={},
111
+ model="doubao-seed-1.6",
112
+ drop_params=False,
113
+ )
114
+ assert result_no_thinking == {}
115
+
116
def test_e2e_completion(self):
117
from openai import OpenAI
118
0 commit comments