Interface: TextSegment
Defined in: packages/core/src/stream-segments/types.ts:28
Text content segment
Extends
Properties
agentId?
optionalagentId?:string
Defined in: packages/core/src/stream-segments/types.ts:20
Agent that produced this segment (populated in group chat contexts)
Inherited from
agentName?
optionalagentName?:string
Defined in: packages/core/src/stream-segments/types.ts:22
Display name of the agent
Inherited from
avatarEmoji?
optionalavatarEmoji?:string
Defined in: packages/core/src/stream-segments/types.ts:24
Avatar emoji for display
Inherited from
content
content:
string
Defined in: packages/core/src/stream-segments/types.ts:31
The accumulated text content from the assistant
id
id:
string
Defined in: packages/core/src/stream-segments/types.ts:16
Unique identifier for React keys
Inherited from
isStreaming
isStreaming:
boolean
Defined in: packages/core/src/stream-segments/types.ts:33
Whether this text is still being streamed
timestamp
timestamp:
number
Defined in: packages/core/src/stream-segments/types.ts:18
Timestamp for ordering
Inherited from
type
type:
"text"
Defined in: packages/core/src/stream-segments/types.ts:29