Interface: DSLBotState
Defined in: packages/core/src/stream-segments/types.ts:193
State for a bot defined in DSL
Properties
childSegments
childSegments:
StreamSegment[]
Defined in: packages/core/src/stream-segments/types.ts:203
Child segments from this bot's execution
error?
optionalerror?:string
Defined in: packages/core/src/stream-segments/types.ts:209
Error message if failed
goal
goal:
string
Defined in: packages/core/src/stream-segments/types.ts:197
Goal from DSL definition
name
name:
string
Defined in: packages/core/src/stream-segments/types.ts:195
Bot name from DSL definition
result?
optionalresult?:unknown
Defined in: packages/core/src/stream-segments/types.ts:207
Final result when complete
status
status:
"running"|"completed"|"failed"|"pending"
Defined in: packages/core/src/stream-segments/types.ts:201
Current execution status
tokensUsed
tokensUsed:
number
Defined in: packages/core/src/stream-segments/types.ts:205
Tokens used so far
tools?
optionaltools?:string[]
Defined in: packages/core/src/stream-segments/types.ts:199
Tools available to this bot