ChatResponseStream
The ChatResponseStream is how a participant is able to return content to the chat view. It provides several methods for streaming different types of content which will be rendered in an appropriate way in the chat view. A participant can use the helper method for the type of content it wants to return, or it can instantiate a ChatResponsePart and use the generic ChatResponseStream.push method to return it.
Functions
Link copied to clipboard
Link copied to clipboard
Push a filetree part to this stream. Short-hand for push(new ChatResponseFileTreePart(value))
.
Link copied to clipboard
Push a markdown part to this stream. Short-hand for push(new ChatResponseMarkdownPart(value))
.
Link copied to clipboard
Pushes a part to this stream.