@graphty/graphty-element / ai / AiStatus
Interface: AiStatus ​
Defined in: graphty-element/src/ai/AiStatus.ts:31
Complete status object for AI command execution. Provides all state needed for UI frameworks.
Properties ​
canCancel ​
canCancel:
boolean
Defined in: graphty-element/src/ai/AiStatus.ts:61
Whether the current operation can be cancelled
canRetry? ​
optionalcanRetry?:boolean
Defined in: graphty-element/src/ai/AiStatus.ts:57
Whether the command can be retried
elapsed? ​
optionalelapsed?:number
Defined in: graphty-element/src/ai/AiStatus.ts:39
Milliseconds since startTime
error? ​
optionalerror?:Error
Defined in: graphty-element/src/ai/AiStatus.ts:55
Error that occurred during execution
stage? ​
optionalstage?:AiStage
Defined in: graphty-element/src/ai/AiStatus.ts:43
Current processing stage
stageMessage? ​
optionalstageMessage?:string
Defined in: graphty-element/src/ai/AiStatus.ts:45
Human-readable message about current stage
startTime? ​
optionalstartTime?:number
Defined in: graphty-element/src/ai/AiStatus.ts:37
Timestamp when command was submitted
state ​
state:
AiState
Defined in: graphty-element/src/ai/AiStatus.ts:33
Current state of AI command execution
streamedText? ​
optionalstreamedText?:string
Defined in: graphty-element/src/ai/AiStatus.ts:49
Accumulated streamed text from LLM
toolCalls? ​
optionaltoolCalls?:ToolCallStatus[]
Defined in: graphty-element/src/ai/AiStatus.ts:51
Status of tool calls being executed