Class: Legion::Extensions::Agentic::Integration::Context::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Integration::Context::Client
- Includes:
- Runners::Context
- Defined in:
- lib/legion/extensions/agentic/integration/context/client.rb
Instance Attribute Summary collapse
-
#context_manager ⇒ Object
readonly
Returns the value of attribute context_manager.
Instance Method Summary collapse
-
#initialize(context_manager: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Context
#activate_context, #add_cue, #auto_switch, #context_stats, #create_context, #current_context, #detect_context, #frames_in_domain, #remove_context, #update_context
Constructor Details
#initialize(context_manager: nil) ⇒ Client
Returns a new instance of Client.
18 19 20 |
# File 'lib/legion/extensions/agentic/integration/context/client.rb', line 18 def initialize(context_manager: nil, **) @context_manager = context_manager || Helpers::ContextManager.new end |
Instance Attribute Details
#context_manager ⇒ Object (readonly)
Returns the value of attribute context_manager.
16 17 18 |
# File 'lib/legion/extensions/agentic/integration/context/client.rb', line 16 def context_manager @context_manager end |