Skip to main content

Interface: ErrorSegment

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

Error segment (for inline error display)

Extends

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)

Inherited from

BaseSegment.agentId


agentName?

optional agentName?: string

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

Display name of the agent

Inherited from

BaseSegment.agentName


avatarEmoji?

optional avatarEmoji?: string

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

Avatar emoji for display

Inherited from

BaseSegment.avatarEmoji


details?

optional details?: unknown

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


id

id: string

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

Unique identifier for React keys

Inherited from

BaseSegment.id


message

message: string

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


timestamp

timestamp: number

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

Timestamp for ordering

Inherited from

BaseSegment.timestamp


type

type: "error"

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