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 e5709da commit 2d5991fCopy full SHA for 2d5991f
tests/mock_server.py
@@ -463,8 +463,8 @@ async def generate(
463
else:
464
extra_body["top_k"] = params.top_k
465
466
- if params.enable_thinking:
467
- extra_body["enable_thinking"] = True
+ extra_body["enable_thinking"] = params.enable_thinking
+
468
if params.enable_thinking and params.thinking_budget is not None:
469
extra_body["thinking_budget"] = params.thinking_budget
470
0 commit comments