AIConversationAssistantMessageParams

data class AIConversationAssistantMessageParams(val message: AIMessage, val text: String, val isGenerating: Boolean, val parts: List<AIMessagePart>, val attachments: List<AIMessageAttachment>, val reasoningText: (AIReasoningPart) -> String?, val approver: AIToolApprover?, val modifier: Modifier = Modifier)

Parameters for ChatAiComponentFactory.AIConversationAssistantMessage.

Parameters

message

The reply, which is one of the app's own messages: cast it to read what else it holds.

text

The answer, in Markdown.

isGenerating

Whether the agent is still writing it.

parts

The steps the agent took, in order.

attachments

What the agent sent with it, such as images and files.

reasoningText

The whole of a reasoning step's thinking, when the app has it.

approver

Who answers tool calls' questions and sign-ins on this device.

modifier

The modifier to apply.

Constructors

Link copied to clipboard
constructor(message: AIMessage, text: String, isGenerating: Boolean, parts: List<AIMessagePart>, attachments: List<AIMessageAttachment>, reasoningText: (AIReasoningPart) -> String?, approver: AIToolApprover?, modifier: Modifier = Modifier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard