Class: Legion::Extensions::Agentic::Self::Agency::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Self::Agency::Client
- Includes:
- Runners::Agency
- Defined in:
- lib/legion/extensions/agentic/self/agency/client.rb
Instance Attribute Summary collapse
-
#efficacy_model ⇒ Object
readonly
Returns the value of attribute efficacy_model.
Instance Method Summary collapse
-
#initialize(efficacy_model: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Agency
#agency_stats, #check_efficacy, #record_mastery, #record_persuasion, #record_physiological, #record_vicarious, #should_attempt?, #strongest_domains, #update_agency, #weakest_domains
Constructor Details
#initialize(efficacy_model: nil) ⇒ Client
Returns a new instance of Client.
13 14 15 |
# File 'lib/legion/extensions/agentic/self/agency/client.rb', line 13 def initialize(efficacy_model: nil, **) @efficacy_model = efficacy_model || Helpers::EfficacyModel.new end |
Instance Attribute Details
#efficacy_model ⇒ Object (readonly)
Returns the value of attribute efficacy_model.
11 12 13 |
# File 'lib/legion/extensions/agentic/self/agency/client.rb', line 11 def efficacy_model @efficacy_model end |