AgentEvent.TextMessage

data class AgentEvent.TextMessage : AgentEvent


The text message generated by the agent for the user.

Summary

Public constructors

TextMessage(text: String, isPartial: Boolean)

Public properties

Boolean

Whether this event represents a partial streaming chunk.

String

The textual content emitted by the agent.

Public constructors

TextMessage

TextMessage(text: String, isPartial: Boolean = false)

Public properties

isPartial

val isPartial: Boolean

Whether this event represents a partial streaming chunk.

text

val text: String

The textual content emitted by the agent.