Class: Legion::CLI::Chat::Tools::ShadowEvalStatus
- Inherits:
-
RubyLLM::Tool
- Object
- RubyLLM::Tool
- Legion::CLI::Chat::Tools::ShadowEvalStatus
- Defined in:
- lib/legion/cli/chat/tools/shadow_eval_status.rb
Instance Method Summary collapse
Instance Method Details
#execute(action: 'summary') ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/legion/cli/chat/tools/shadow_eval_status.rb', line 15 def execute(action: 'summary') return 'Shadow evaluation not available.' unless shadow_available? case action.to_s when 'history' then format_history else format_summary end end |