Class: LangGraphRB::Runner::ExecutionFrame

Inherits:
Object
  • Object
show all
Defined in:
lib/langgraph_rb/runner.rb

Overview

Execution frame for tracking active node executions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node_name, state, step) ⇒ ExecutionFrame

Returns a new instance of ExecutionFrame.



426
427
428
429
430
# File 'lib/langgraph_rb/runner.rb', line 426

def initialize(node_name, state, step)
  @node_name = node_name.to_sym
  @state = state
  @step = step
end

Instance Attribute Details

#node_nameObject (readonly)

Returns the value of attribute node_name.



424
425
426
# File 'lib/langgraph_rb/runner.rb', line 424

def node_name
  @node_name
end

#stateObject (readonly)

Returns the value of attribute state.



424
425
426
# File 'lib/langgraph_rb/runner.rb', line 424

def state
  @state
end

#stepObject (readonly)

Returns the value of attribute step.



424
425
426
# File 'lib/langgraph_rb/runner.rb', line 424

def step
  @step
end

Instance Method Details

#to_sObject



432
433
434
# File 'lib/langgraph_rb/runner.rb', line 432

def to_s
  "#<ExecutionFrame node: #{@node_name}, step: #{@step}>"
end