]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Propose fix a couple of typos (#21581)
authorJohn Eismeier <redacted>
Wed, 8 Apr 2026 14:29:03 +0000 (10:29 -0400)
committerGitHub <redacted>
Wed, 8 Apr 2026 14:29:03 +0000 (16:29 +0200)
Signed-off-by: John E <redacted>
tests/test-chat.cpp
tools/server/tests/unit/test_completion.py

index 814faa43caa217ac060ad02e799e1927c2ba3042..f8b2b584e269f040704a75260472c352887178e6 100644 (file)
@@ -3454,7 +3454,7 @@ static void test_template_output_peg_parsers(bool detailed_debug) {
                             },
                             "replaceAll": {
                                 "type": "boolean",
-                                "description": "Whether to replace all occurences."
+                                "description": "Whether to replace all occurrences."
                             }
                         },
                         "required": ["oldString", "newString"]
index 61042da55c6b3a93f9f4fa3177267699267c73a8..c1a197854349d6f9efc347044feae64fdaacbb10 100644 (file)
@@ -135,7 +135,7 @@ def test_completion_stream_with_openai_library_stops():
     client = OpenAI(api_key="dummy", base_url=f"http://{server.server_host}:{server.server_port}/v1")
     res = client.completions.create(
         model="davinci-002",
-        prompt="System: You are helpfull assistant.\nAssistant:\nHey! How could I help?\nUser:\nTell me a joke.\nAssistant:\n",
+        prompt="System: You are helpful assistant.\nAssistant:\nHey! How could I help?\nUser:\nTell me a joke.\nAssistant:\n",
         stop=["User:\n", "Assistant:\n"],
         max_tokens=200,
         stream=True,