Message
@Serializable
A chat message: an ordered list of Parts, the same shape as the AI SDK UIMessage. Assistant messages usually interleave reasoning, tool calls and text across several agent steps.
Constructors
Properties
Link copied to clipboard
Other versions of this reply (AI Elements <Branch>): regenerating keeps the previous answer here instead of discarding it. Oldest first.
Link copied to clipboard
Link copied to clipboard
0-based position of this version within versions.