Unverified Commit 04b86b3c authored by Liangsheng Yin's avatar Liangsheng Yin Committed by GitHub
Browse files

[hot-fix] Fix CI break which caused by adding `thinking_mode` in eval (#11192)

parent d6777a70
...@@ -17,13 +17,14 @@ from sglang.test.simple_eval_common import ( ...@@ -17,13 +17,14 @@ from sglang.test.simple_eval_common import (
def get_thinking_kwargs(args): def get_thinking_kwargs(args):
if args.thinking_mode in THINKING_MODE_CHOICES: thinking_mode = getattr(args, "thinking_mode", None)
thinking_param = ( if thinking_mode in THINKING_MODE_CHOICES:
"thinking" if args.thinking_mode == "deepseek-v3" else "enable_thinking" if thinking_mode == "deepseek-v3":
) thinking_param = "thinking"
else:
thinking_param = "enable_thinking"
return { return {
"chat_template_kwargs": {thinking_param: True}, "chat_template_kwargs": {thinking_param: True},
"separate_reasoning": True,
} }
return {} return {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment