mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
fix bug
This commit is contained in:
parent
c9e1088fda
commit
df5db48c3c
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class VolcEngineChatConfig(OpenAILikeChatConfig):
|
|||
if (
|
||||
thinking_value is not None
|
||||
and isinstance(thinking_value, dict)
|
||||
and thinking_value.get("type", None) in ["enabled", "disabled", "auto"], # legal values, see docs
|
||||
and thinking_value.get("type", None) in ["enabled", "disabled", "auto"] # legal values, see docs
|
||||
):
|
||||
# Add thinking parameter to extra_body for all legal cases
|
||||
optional_params.setdefault("extra_body", {})["thinking"] = thinking_value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue