Skip to content

Commit 3935aea

Browse files
committed
Fix test
1 parent 3779ed6 commit 3935aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/tests/unit/test_chat_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def test_apply_chat_template():
176176
({"type": "json_object", "schema": {"items": [{"type": "integer"}]}}, 10, "[ -3000 ]", 200),
177177
({"type": "json_schema", "json_schema": {"schema": {"const": "foooooo"}}}, 10, "\"foooooo\"", 200),
178178
({"type": "json_object"}, 10, "(\\{|John)+", 200),
179-
({"type": "sound"}, 0, None, 500),
179+
({"type": "sound"}, 0, None, 400),
180180
# invalid response format (expected to fail)
181181
({"type": "json_object", "schema": 123}, 0, None, 400),
182182
({"type": "json_object", "schema": {"type": 123}}, 0, None, 400),

0 commit comments

Comments
 (0)