add test_devstral.py, restore chat_template_kwargs+logprobs to all tests (vLLM-compat spec)

This commit is contained in:
Jinx
2026-04-12 20:27:44 +00:00
parent 1186c9d816
commit b285ffc2d5
4 changed files with 527 additions and 12 deletions

View File

@@ -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
}
)