Class: Legion::CLI::Chat::Tools::SchedulingStatus

Inherits:
RubyLLM::Tool
  • Object
show all
Defined in:
lib/legion/cli/chat/tools/scheduling_status.rb

Instance Method Summary collapse

Instance Method Details

#execute(action: 'overview') ⇒ Object



16
17
18
19
20
21
22
# File 'lib/legion/cli/chat/tools/scheduling_status.rb', line 16

def execute(action: 'overview')
  case action.to_s
  when 'scheduling' then format_scheduling
  when 'batch'      then format_batch
  else format_overview
  end
end