Skip to main content

Interface: ReasoningSegment

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

Reasoning/thinking segment (for o1/o3/Claude extended thinking)

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


content

content: string

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


id

id: string

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

Unique identifier for React keys

Inherited from

BaseSegment.id


isStreaming

isStreaming: boolean

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


timestamp

timestamp: number

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

Timestamp for ordering

Inherited from

BaseSegment.timestamp


type

type: "reasoning"

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