6 7 8 9 10 11
# File 'lib/rixie/strategy/simple.rb', line 6 def run(task:, listener:) run = Run.new(user_input: task.user_input, agent: task.agent, context: task.context) task.runs << run run.execute(listener:) run.output end