@@ -252,7 +252,6 @@ def test_completion_without_tool_call_slow(template_name: str, n_predict: int, t
252252@pytest .mark .slow
253253@pytest .mark .parametrize ("hf_repo,template_override" , [
254254 ("bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M" , None ),
255- ("bartowski/c4ai-command-r7b-12-2024-GGUF:Q4_K_M" , ("CohereForAI/c4ai-command-r7b-12-2024" , "tool_use" )),
256255 ("bartowski/Meta-Llama-3.1-8B-Instruct-GGUF:Q4_K_M" , None ),
257256 ("bartowski/gemma-2-2b-it-GGUF:Q4_K_M" , None ),
258257 ("bartowski/Phi-3.5-mini-instruct-GGUF:Q4_K_M" , None ),
@@ -263,9 +262,8 @@ def test_completion_without_tool_call_slow(template_name: str, n_predict: int, t
263262 ("bartowski/functionary-small-v3.2-GGUF:Q8_0" , ("meetkai/functionary-medium-v3.2" , None )),
264263 ("bartowski/Llama-3.2-3B-Instruct-GGUF:Q4_K_M" , ("meta-llama/Llama-3.2-3B-Instruct" , None )),
265264 # ("bartowski/Llama-3.2-1B-Instruct-GGUF:Q4_K_M", ("meta-llama/Llama-3.2-3B-Instruct", None)),
266- # ("bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M", None),
267265])
268- def test_weather (hf_repo : str , template_override : Tuple [str , str | None ] | None ):
266+ def test_weather_tool_call (hf_repo : str , template_override : Tuple [str , str | None ] | None ):
269267 global server
270268 n_predict = 512
271269 server .n_slots = 1
@@ -313,9 +311,8 @@ def test_weather(hf_repo: str, template_override: Tuple[str, str | None] | None)
313311 (None , "bartowski/Hermes-2-Pro-Llama-3-8B-GGUF:Q4_K_M" , ("NousResearch/Hermes-2-Pro-Llama-3-8B" , "tool_use" )),
314312 (None , "bartowski/Hermes-3-Llama-3.1-8B-GGUF:Q4_K_M" , ("NousResearch-Hermes-3-Llama-3.1-8B" , "tool_use" )),
315313 (None , "bartowski/Mistral-Nemo-Instruct-2407-GGUF:Q4_K_M" , None ),
316- # (None, "bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M", None),
317314])
318- def test_hello_world (expected_arguments_override : str | None , hf_repo : str , template_override : Tuple [str , str | None ] | None ):
315+ def test_hello_world_tool_call (expected_arguments_override : str | None , hf_repo : str , template_override : Tuple [str , str | None ] | None ):
319316 global server
320317 server .n_slots = 1
321318 server .jinja = True
0 commit comments