Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/agentscope/model/_dashscope_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async def __call__(
self._validate_tool_choice(tool_choice, tools)
kwargs["tool_choice"] = self._format_tool_choice(tool_choice)

if self.enable_thinking and "enable_thinking" not in kwargs:
if self.enable_thinking is not None and "enable_thinking" not in kwargs:
kwargs["enable_thinking"] = self.enable_thinking

if structured_model:
Expand Down
Loading