Class: Legion::CLI::Chat::Tools::MemoryStatus
- Inherits:
-
RubyLLM::Tool
- Object
- RubyLLM::Tool
- Legion::CLI::Chat::Tools::MemoryStatus
- Defined in:
- lib/legion/cli/chat/tools/memory_status.rb
Instance Method Summary collapse
Instance Method Details
#execute(action: 'overview') ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/legion/cli/chat/tools/memory_status.rb', line 17 def execute(action: 'overview') case action.to_s when 'memories' then format_memories when 'apollo' then format_apollo when 'sessions' then format_sessions else format_overview end end |