Class: Legion::Extensions::Agentic::Executive::Inhibition::Client

Inherits:
Object
  • Object
show all
Includes:
Runners::Inhibition
Defined in:
lib/legion/extensions/agentic/executive/inhibition/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Runners::Inhibition

#check_stroop, #delay_gratification, #evaluate_impulse, #inhibition_history, #inhibition_stats, #update_inhibition, #willpower_status

Constructor Details

#initialize(inhibition_store: nil) ⇒ Client

Returns a new instance of Client.



19
20
21
# File 'lib/legion/extensions/agentic/executive/inhibition/client.rb', line 19

def initialize(inhibition_store: nil, **)
  @inhibition_store = inhibition_store || Helpers::InhibitionStore.new
end

Instance Attribute Details

#inhibition_storeObject (readonly)

Returns the value of attribute inhibition_store.



17
18
19
# File 'lib/legion/extensions/agentic/executive/inhibition/client.rb', line 17

def inhibition_store
  @inhibition_store
end