LLMCallNode
Defined in: core/execution-tree.ts:57
LLM call execution node.
Extends
Section titled “Extends”BaseExecutionNode
Properties
Section titled “Properties”children
Section titled “children”children:
string[]
Defined in: core/execution-tree.ts:74
Child node IDs (gadgets spawned by this LLM call)
completedAt
Section titled “completedAt”completedAt:
number|null
Defined in: core/execution-tree.ts:51
Completion timestamp (null if in progress)
Inherited from
Section titled “Inherited from”BaseExecutionNode.completedAt
optionalcost:number
Defined in: core/execution-tree.ts:72
Cost in USD
createdAt
Section titled “createdAt”createdAt:
number
Defined in: core/execution-tree.ts:49
Creation timestamp
Inherited from
Section titled “Inherited from”BaseExecutionNode.createdAt
depth:
number
Defined in: core/execution-tree.ts:45
Nesting depth (0 = root, 1 = child of gadget, etc.)
Inherited from
Section titled “Inherited from”BaseExecutionNode.depth
finishReason?
Section titled “finishReason?”
optionalfinishReason:string|null
Defined in: core/execution-tree.ts:70
Finish reason from LLM
id:
string
Defined in: core/execution-tree.ts:39
Unique identifier for this node
Inherited from
Section titled “Inherited from”BaseExecutionNode.id
iteration
Section titled “iteration”iteration:
number
Defined in: core/execution-tree.ts:60
Iteration number within the agent loop (1-indexed for display)
model:
string
Defined in: core/execution-tree.ts:62
Model identifier
parentId
Section titled “parentId”parentId:
string|null
Defined in: core/execution-tree.ts:43
Parent node ID (null for root nodes)
Inherited from
Section titled “Inherited from”BaseExecutionNode.parentId
path:
string[]
Defined in: core/execution-tree.ts:47
Path from root to this node: [“llm_1”, “gadget_abc”, “llm_1_1”]
Inherited from
Section titled “Inherited from”BaseExecutionNode.path
request?
Section titled “request?”
optionalrequest:LLMMessage[]
Defined in: core/execution-tree.ts:64
Request messages (set when call starts)
response
Section titled “response”response:
string
Defined in: core/execution-tree.ts:66
Accumulated response text
type:
"llm_call"
Defined in: core/execution-tree.ts:58
Node type discriminator
Overrides
Section titled “Overrides”BaseExecutionNode.type
usage?
Section titled “usage?”
optionalusage:TokenUsage
Defined in: core/execution-tree.ts:68
Token usage (set on completion)