mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-08-07 09:22:39 -04:00
Update test_chat_completion.py
This commit is contained in:
@@ -104,7 +104,6 @@ def test_chat_completion_with_openai_library():
|
||||
|
||||
@pytest.mark.parametrize("response_format,n_predicted,re_content", [
|
||||
({"type": "json_object", "schema": {"const": "42"}}, 6, "\"42\""),
|
||||
({"type": "json_schema", "json_schema": {"const": "42"}}, 6, "\"42\""),
|
||||
({"type": "json_object", "schema": {"items": [{"type": "integer"}]}}, 10, "[ -3000 ]"),
|
||||
({"type": "json_object"}, 10, "(\\{|John)+"),
|
||||
({"type": "sound"}, 0, None),
|
||||
|
Reference in New Issue
Block a user