[Doc]: fix typos in Python comments (#24042)
Signed-off-by: Didier Durand <durand.didier@gmail.com> Co-authored-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
co-authored by
Jee Jee Li
parent
a344a5aa0a
commit
0235103cbb
@@ -161,7 +161,7 @@ async def write_local_file(output_path: str,
|
||||
batch_outputs: The list of batch outputs to write.
|
||||
"""
|
||||
# We should make this async, but as long as run_batch runs as a
|
||||
# standalone program, blocking the event loop won't effect performance.
|
||||
# standalone program, blocking the event loop won't affect performance.
|
||||
with open(output_path, "w", encoding="utf-8") as f:
|
||||
for o in batch_outputs:
|
||||
print(o.model_dump_json(), file=f)
|
||||
|
||||
@@ -728,7 +728,7 @@ class OpenAIServingResponses(OpenAIServing):
|
||||
for response_msg in request.input:
|
||||
messages.append(
|
||||
parse_response_input(response_msg, prev_outputs))
|
||||
# User passes in a a tool call request and its output. We need
|
||||
# User passes in a tool call request and its output. We need
|
||||
# to add the tool call request to prev_outputs so that the
|
||||
# parse_response_input can find the tool call request when
|
||||
# parsing the tool call output.
|
||||
|
||||
Reference in New Issue
Block a user