Skip to content

Commit 4991504

Browse files
authored
Propose fix a couple of typos (ggml-org#21581)
Signed-off-by: John E <jeis4wpi@outlook.com>
1 parent eb24df1 commit 4991504

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test-chat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3454,7 +3454,7 @@ static void test_template_output_peg_parsers(bool detailed_debug) {
34543454
},
34553455
"replaceAll": {
34563456
"type": "boolean",
3457-
"description": "Whether to replace all occurences."
3457+
"description": "Whether to replace all occurrences."
34583458
}
34593459
},
34603460
"required": ["oldString", "newString"]

tools/server/tests/unit/test_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def test_completion_stream_with_openai_library_stops():
135135
client = OpenAI(api_key="dummy", base_url=f"http://{server.server_host}:{server.server_port}/v1")
136136
res = client.completions.create(
137137
model="davinci-002",
138-
prompt="System: You are helpfull assistant.\nAssistant:\nHey! How could I help?\nUser:\nTell me a joke.\nAssistant:\n",
138+
prompt="System: You are helpful assistant.\nAssistant:\nHey! How could I help?\nUser:\nTell me a joke.\nAssistant:\n",
139139
stop=["User:\n", "Assistant:\n"],
140140
max_tokens=200,
141141
stream=True,

0 commit comments

Comments
 (0)