AssistantMessage
AssistantMessage =
object
Defined in: packages/schema/src/assistant/protocol.ts:133
A message of the chat: what the user wrote, or the backend’s answer in parts.
Properties
Section titled “Properties”from:
"user"|"assistant"
Defined in: packages/schema/src/assistant/protocol.ts:137
Who wrote it.
id:
string
Defined in: packages/schema/src/assistant/protocol.ts:135
The message’s id; a message with the same id replaces it.
parts:
AssistantPart[]
Defined in: packages/schema/src/assistant/protocol.ts:139
What it shows, in order.