Skip to content

Handle all ChatResponsePart types in Assistant #11034

@timtmok

Description

@timtmok

There are other chat response types that we might encounter that aren't currently handled. This came up when using the Shiny chat participant and the chat history contained a ChatResponseCommandButtonPart.

It might be worth adding something to the Echo test provider to respond with parts like this.

/**
* Represents the different chat response types.
*/
export type ChatResponsePart = ChatResponseMarkdownPart | ChatResponseFileTreePart | ChatResponseAnchorPart
| ChatResponseProgressPart | ChatResponseReferencePart | ChatResponseCommandButtonPart;

Originally posted by @sharon-wang in #10979 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: assistantIssues related to Positron Assistant

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions