Propose fix a couple of typos (#21581)
Signed-off-by: John E <jeis4wpi@outlook.com>
This commit is contained in:
+1
-1
@@ -3454,7 +3454,7 @@ static void test_template_output_peg_parsers(bool detailed_debug) {
|
|||||||
},
|
},
|
||||||
"replaceAll": {
|
"replaceAll": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether to replace all occurences."
|
"description": "Whether to replace all occurrences."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["oldString", "newString"]
|
"required": ["oldString", "newString"]
|
||||||
|
|||||||
@@ -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")
|
client = OpenAI(api_key="dummy", base_url=f"http://{server.server_host}:{server.server_port}/v1")
|
||||||
res = client.completions.create(
|
res = client.completions.create(
|
||||||
model="davinci-002",
|
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"],
|
stop=["User:\n", "Assistant:\n"],
|
||||||
max_tokens=200,
|
max_tokens=200,
|
||||||
stream=True,
|
stream=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user