Class: Legion::Extensions::Agentic::Executive::Load::Client

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Runners::CognitiveLoad

#adjust_capacity, #cognitive_load_stats, #load_recommendation, #load_status, #reduce_overhead, #report_extraneous, #report_germane, #report_intrinsic, #update_cognitive_load

Constructor Details

#initialize(load_model: nil) ⇒ Client

Returns a new instance of Client.



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

def initialize(load_model: nil, **)
  @load_model = load_model || Helpers::LoadModel.new
end

Instance Attribute Details

#load_modelObject (readonly)

Returns the value of attribute load_model.



15
16
17
# File 'lib/legion/extensions/agentic/executive/load/client.rb', line 15

def load_model
  @load_model
end