Class: Pikuri::Agent::Event::FallbackNotice

Inherits:
Data
  • Object
show all
Defined in:
lib/pikuri/agent/event.rb

Overview

Out-of-band notice that the agent had to take a rescue path. Emitted by Pikuri::Agent#run_loop when Control::StepLimit trips and the synthesizer fallback runs; carries the reason string the listener should surface. Lets listeners (Terminal, future web UI) surface the divergence to the user before the synthesizer’s own assistant output flows through.

Instance Attribute Summary collapse

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



177
178
179
# File 'lib/pikuri/agent/event.rb', line 177

def reason
  @reason
end