Class: Legion::Extensions::Agentic::Self::Metacognition::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Self::Metacognition::Client
- Includes:
- Runners::Metacognition
- Defined in:
- lib/legion/extensions/agentic/self/metacognition/client.rb
Instance Attribute Summary collapse
-
#snapshot_store ⇒ Object
readonly
Returns the value of attribute snapshot_store.
Instance Method Summary collapse
-
#initialize(snapshot_store: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Metacognition
#architecture_changes, #architecture_overview, #explain_subsystem, #health_trend, #introspect, #metacognition_stats, #self_narrative
Constructor Details
#initialize(snapshot_store: nil) ⇒ Client
Returns a new instance of Client.
19 20 21 |
# File 'lib/legion/extensions/agentic/self/metacognition/client.rb', line 19 def initialize(snapshot_store: nil, **) @snapshot_store = snapshot_store || Helpers::SnapshotStore.new end |
Instance Attribute Details
#snapshot_store ⇒ Object (readonly)
Returns the value of attribute snapshot_store.
17 18 19 |
# File 'lib/legion/extensions/agentic/self/metacognition/client.rb', line 17 def snapshot_store @snapshot_store end |