mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
update test volcengine
This commit is contained in:
parent
bf7868bb0e
commit
3bbe09ceb9
1 changed files with 9 additions and 0 deletions
|
|
@ -95,6 +95,15 @@ class TestVolcEngineConfig:
|
|||
)
|
||||
assert result_no_thinking == {}
|
||||
|
||||
# Test 6: invalid thinking type - should NOT appear in extra_body (invalid type)
|
||||
result_no_thinking = config.map_openai_params(
|
||||
non_default_params={"thinking": {"type": "invalid_type"}},
|
||||
optional_params={},
|
||||
model="doubao-seed-1.6",
|
||||
drop_params=False,
|
||||
)
|
||||
assert result_no_thinking == {}
|
||||
|
||||
def test_e2e_completion(self):
|
||||
from openai import OpenAI
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue