Class: Legion::Extensions::Agentic::Affect::Flow::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Affect::Flow::Client
- Includes:
- Runners::Flow, Helpers::Lex
- Defined in:
- lib/legion/extensions/agentic/affect/flow/client.rb
Instance Attribute Summary collapse
-
#flow_detector ⇒ Object
readonly
Returns the value of attribute flow_detector.
Instance Method Summary collapse
-
#initialize(flow_detector: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Flow
#flow_effects, #flow_history, #flow_stats, #flow_status, #update_flow
Constructor Details
#initialize(flow_detector: nil) ⇒ Client
Returns a new instance of Client.
18 19 20 |
# File 'lib/legion/extensions/agentic/affect/flow/client.rb', line 18 def initialize(flow_detector: nil, **) @flow_detector = flow_detector || Helpers::FlowDetector.new end |
Instance Attribute Details
#flow_detector ⇒ Object (readonly)
Returns the value of attribute flow_detector.
16 17 18 |
# File 'lib/legion/extensions/agentic/affect/flow/client.rb', line 16 def flow_detector @flow_detector end |