add test_devstral.py, restore chat_template_kwargs+logprobs to all tests (vLLM-compat spec)
This commit is contained in:
@@ -63,7 +63,10 @@ def test_simple_tool_response():
|
||||
"messages": messages,
|
||||
"tools": tools,
|
||||
"stream": False,
|
||||
"max_tokens": 256
|
||||
"max_tokens": 256,
|
||||
"chat_template_kwargs": {"enable_thinking": False},
|
||||
"logprobs": True,
|
||||
"top_logprobs": 5
|
||||
}
|
||||
)
|
||||
|
||||
@@ -129,7 +132,10 @@ def test_without_tools_param():
|
||||
"messages": messages,
|
||||
# No tools param
|
||||
"stream": False,
|
||||
"max_tokens": 256
|
||||
"max_tokens": 256,
|
||||
"chat_template_kwargs": {"enable_thinking": False},
|
||||
"logprobs": True,
|
||||
"top_logprobs": 5
|
||||
}
|
||||
)
|
||||
|
||||
@@ -211,7 +217,10 @@ def test_different_content_formats():
|
||||
"messages": msgs,
|
||||
"tools": tools,
|
||||
"stream": False,
|
||||
"max_tokens": 128
|
||||
"max_tokens": 128,
|
||||
"chat_template_kwargs": {"enable_thinking": False},
|
||||
"logprobs": True,
|
||||
"top_logprobs": 5
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user