Skip to content

Commit 3635aa1

Browse files
devtalkerseratch
andauthored
Update examples/basic/stream_function_call_args.py
Co-authored-by: Kazuhiro Sera <seratch@openai.com>
1 parent 9caf667 commit 3635aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/basic/stream_function_call_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async def main():
6262
elif isinstance(event.data, ResponseFunctionCallArgumentsDeltaEvent):
6363
if current_active_call_id and current_active_call_id in function_calls:
6464
function_calls[current_active_call_id]['arguments'] += event.data.delta
65-
print(f" + {event.data.delta}", end="", flush=True)
65+
print(event.data.delta, end="", flush=True)
6666

6767
# Function call completed
6868
elif event.data.type == "response.output_item.done":

0 commit comments

Comments
 (0)