Skip to main content

Interface: BaseSegment

Defined in: core/dist/types/stream-segments/types.d.ts:12

Base interface for all segments

Extended by

Properties

agentId?

optional agentId?: string

Defined in: core/dist/types/stream-segments/types.d.ts:18

Agent that produced this segment (populated in group chat contexts)


agentName?

optional agentName?: string

Defined in: core/dist/types/stream-segments/types.d.ts:20

Display name of the agent


avatarEmoji?

optional avatarEmoji?: string

Defined in: core/dist/types/stream-segments/types.d.ts:22

Avatar emoji for display


id

id: string

Defined in: core/dist/types/stream-segments/types.d.ts:14

Unique identifier for React keys


timestamp

timestamp: number

Defined in: core/dist/types/stream-segments/types.d.ts:16

Timestamp for ordering