TextPart
Defined in: react/src/protocol.ts:55
Properties
Section titled “Properties”agentId?
Section titled “agentId?”optional agentId?: string;Defined in: react/src/protocol.ts:69
The id of the agent part for the specialist that wrote this text, for a host that shows
a specialist’s words. Absent for the main assistant’s own text.
attempt?
Section titled “attempt?”optional attempt?: number;Defined in: react/src/protocol.ts:63
Monotone attempt number from the host’s operation journal. Absent means the first.
id: string;Defined in: react/src/protocol.ts:57
incomplete?
Section titled “incomplete?”optional incomplete?: boolean;Defined in: react/src/protocol.ts:66
Progress is known to be missing. Keep the prefix visible, but do not append deltas. Only an authoritative snapshot or a genuinely new attempt can clear this flag.
settled
Section titled “settled”settled: boolean;Defined in: react/src/protocol.ts:61
False while it streams. Once true, a delta no longer adds to it and a patch cannot make it stream again. Only a snapshot can.
text: string;Defined in: react/src/protocol.ts:58
type: "text";Defined in: react/src/protocol.ts:56