Class: Legion::Extensions::Agentic::Self::NarrativeSelf::Client

Inherits:
Object
  • Object
show all
Includes:
Runners::NarrativeSelf
Defined in:
lib/legion/extensions/agentic/self/narrative_self/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#autobiographyObject (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