Class: Legion::Extensions::Agentic::Self::NarrativeSelf::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Self::NarrativeSelf::Client
- Includes:
- Runners::NarrativeSelf
- Defined in:
- lib/legion/extensions/agentic/self/narrative_self/client.rb
Instance Attribute Summary collapse
-
#autobiography ⇒ Object
readonly
Returns the value of attribute autobiography.
Instance Method Summary collapse
-
#initialize(autobiography: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::NarrativeSelf
#create_thread, #episodes_by_type, #narrative_self_stats, #recent_episodes, #record_episode, #self_summary, #significant_episodes, #strongest_threads, #timeline, #update_narrative_self
Constructor Details
#initialize(autobiography: nil) ⇒ Client
Returns a new instance of Client.
19 20 21 |
# File 'lib/legion/extensions/agentic/self/narrative_self/client.rb', line 19 def initialize(autobiography: nil, **) @autobiography = autobiography || Helpers::Autobiography.new end |
Instance Attribute Details
#autobiography ⇒ Object (readonly)
Returns the value of attribute autobiography.
17 18 19 |
# File 'lib/legion/extensions/agentic/self/narrative_self/client.rb', line 17 def autobiography @autobiography end |