Class: RubyCode::Views::ResponseHandler::ToolInjectionWarning

Inherits:
Object
  • Object
show all
Defined in:
lib/rubycode/views/response_handler/tool_injection_warning.rb

Overview

Builds tool injection warning message

Class Method Summary collapse

Class Method Details

.build(iteration:) ⇒ Object



10
11
12
13
# File 'lib/rubycode/views/response_handler/tool_injection_warning.rb', line 10

def self.build(iteration:)
  pastel = Pastel.new
  "   #{pastel.yellow("[WARNING]")} No tool calls - injecting reminder (iteration #{iteration})"
end