From e9fd96283d75b55f46f198a68507825f400127d4 Mon Sep 17 00:00:00 2001 From: John Eismeier <42679190+jeis4wpi@users.noreply.github.com> Date: Wed, 8 Apr 2026 10:29:03 -0400 Subject: [PATCH] Propose fix a couple of typos (#21581) Signed-off-by: John E --- tests/test-chat.cpp | 2 +- tools/server/tests/unit/test_completion.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-chat.cpp b/tests/test-chat.cpp index 814faa43ca..f8b2b584e2 100644 --- a/tests/test-chat.cpp +++ b/tests/test-chat.cpp @@ -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"] diff --git a/tools/server/tests/unit/test_completion.py b/tools/server/tests/unit/test_completion.py index 61042da55c..c1a1978543 100644 --- a/tools/server/tests/unit/test_completion.py +++ b/tools/server/tests/unit/test_completion.py @@ -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,