Class: Legion::Extensions::Agentic::Self::Reflection::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Self::Reflection::Client
- Includes:
- Runners::Reflection
- Defined in:
- lib/legion/extensions/agentic/self/reflection/client.rb
Instance Attribute Summary collapse
-
#reflection_store ⇒ Object
readonly
Returns the value of attribute reflection_store.
Instance Method Summary collapse
-
#initialize(store: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Reflection
#adapt, #cognitive_health, #recent_reflections, #reflect, #reflect_on_dream, #reflection_stats, #reflections_by_category
Constructor Details
#initialize(store: nil) ⇒ Client
Returns a new instance of Client.
19 20 21 |
# File 'lib/legion/extensions/agentic/self/reflection/client.rb', line 19 def initialize(store: nil, **) @reflection_store = store || Helpers::ReflectionStore.new end |
Instance Attribute Details
#reflection_store ⇒ Object (readonly)
Returns the value of attribute reflection_store.
17 18 19 |
# File 'lib/legion/extensions/agentic/self/reflection/client.rb', line 17 def reflection_store @reflection_store end |