Skip to main content

Interface: DSLBotState

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

State for a bot defined in DSL

Properties

childSegments

childSegments: StreamSegment[]

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

Child segments from this bot's execution


error?

optional error?: string

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

Error message if failed


goal

goal: string

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

Goal from DSL definition


name

name: string

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

Bot name from DSL definition


result?

optional result?: unknown

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

Final result when complete


status

status: "completed" | "running" | "failed" | "pending"

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

Current execution status


tokensUsed

tokensUsed: number

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

Tokens used so far


tools?

optional tools?: string[]

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

Tools available to this bot