Class: Genie::AskForHelp

Inherits:
RubyLLM::Tool
  • Object
show all
Defined in:
lib/tools/ask_for_help.rb

Instance Method Summary collapse

Instance Method Details

#execute(message:) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/tools/ask_for_help.rb', line 6

def execute(message:)
  Genie.output "Help! \n#{message}\n", color: :red

  {
    status: "User has been asked for help. We should wait until we get input from them.",
  }
end