AIConversationAssistantMessageParams
constructor(message: AIMessage, text: String, isGenerating: Boolean, parts: List<AIMessagePart>, attachments: List<AIMessageAttachment>, reasoningText: (AIReasoningPart) -> String?, approver: AIToolApprover?, modifier: Modifier = Modifier)
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.