We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 055aa9e commit 3a81c60Copy full SHA for 3a81c60
examples/server/tests/unit/test_infill.py
@@ -48,9 +48,9 @@ def test_invalid_input_extra_req(input_extra):
48
global server
49
server.start()
50
res = server.make_request("POST", "/infill", data={
51
- "prompt": "Complete this",
52
"input_extra": [input_extra],
53
- "input_prefix": "#include <cstdio>\n#include \"llama.h\"\n\nint main() {\n int n_threads = llama_",
+ "input_prefix": "#include <cstdio>\n#include \"llama.h\"\n\nint main() {\n",
+ "prompt": " int n_threads = llama_",
54
"input_suffix": "}\n",
55
})
56
assert res.status_code == 400
0 commit comments