Skip to main content

Interface: BaseSegment

Defined in: packages/core/src/stream-segments/types.ts:14

Base interface for all segments

Extended by

Properties

agentId?

optional agentId?: string

Defined in: packages/core/src/stream-segments/types.ts:20

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


agentName?

optional agentName?: string

Defined in: packages/core/src/stream-segments/types.ts:22

Display name of the agent


avatarEmoji?

optional avatarEmoji?: string

Defined in: packages/core/src/stream-segments/types.ts:24

Avatar emoji for display


id

id: string

Defined in: packages/core/src/stream-segments/types.ts:16

Unique identifier for React keys


timestamp

timestamp: number

Defined in: packages/core/src/stream-segments/types.ts:18

Timestamp for ordering