Skip to content

Commit c1f1613

Browse files
authored
Merge pull request openai#93 from openai/fix-docstring
[docs] Fix docstring for `stream_agent_response`
2 parents 7aae28c + bd7af0d commit c1f1613

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

chatkit/agents.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,8 @@ async def stream_agent_response(
444444
Args:
445445
context: The AgentContext to use for the stream.
446446
result: The RunResultStreaming to convert.
447-
image_generation_stream_converter: Controls how streamed image generation output
448-
is converted into URLs and progress updates. The default converter stores the
449-
generated base64 image and assigns a progress value of 0 to all partial image
450-
updates.
447+
converter: Defines overridable methods for adapting streamed data (such as image
448+
generation results and partial updates) into the forms expected by ChatKit.
451449
452450
Returns:
453451
An async iterator that yields thread stream events representing the run result.

0 commit comments

Comments
 (0)