We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7aae28c + bd7af0d commit c1f1613Copy full SHA for c1f1613
1 file changed
chatkit/agents.py
@@ -444,10 +444,8 @@ async def stream_agent_response(
444
Args:
445
context: The AgentContext to use for the stream.
446
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.
+ converter: Defines overridable methods for adapting streamed data (such as image
+ generation results and partial updates) into the forms expected by ChatKit.
451
452
Returns:
453
An async iterator that yields thread stream events representing the run result.
0 commit comments