Exception: PWN::AI::Agent::Loop::Steering::Restart

Inherits:
Exception
  • Object
show all
Defined in:
lib/pwn/ai/agent/loop.rb

Overview

Cooperative restart carrying only host-owned conversation state.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(messages, instructions) ⇒ Restart

Returns a new instance of Restart.



73
74
75
76
77
# File 'lib/pwn/ai/agent/loop.rb', line 73

def initialize(messages, instructions)
  @messages = messages
  @instructions = instructions
  super('operator steering')
end

Instance Attribute Details

#instructions ⇒ Object (readonly)

rubocop:disable Lint/InheritException



71
72
73
# File 'lib/pwn/ai/agent/loop.rb', line 71

def instructions
  @instructions
end

#messages ⇒ Object (readonly)

rubocop:disable Lint/InheritException



71
72
73
# File 'lib/pwn/ai/agent/loop.rb', line 71

def messages
  @messages
end