Streaming
When streaming_enabled is true on session creation, agent responses arrive incrementally as EVENT_TYPE_POLY_AGENT_MESSAGE_CHUNK events instead of a single EVENT_TYPE_POLY_AGENT_MESSAGE. This lets you display the response as it’s generated.
Chunk format
Reassembling chunks
To reconstruct the full message, concatenate text and append attachments / response_suggestions from each chunk in order:
The final chunk (is_complete: true) may have empty text. It signals that the message is complete and may carry attachments or response suggestions that were only available after the full response was generated.

