Module: RCrewAI::HumanInteractionExtensions

Included in:
Agent, Task
Defined in:
lib/rcrewai/human_input.rb

Overview

Extensions for agents and tasks to support human input

Instance Method Summary collapse

Instance Method Details

#confirm_with_human(action, **options) ⇒ Object



493
494
495
# File 'lib/rcrewai/human_input.rb', line 493

def confirm_with_human(action, **options)
  human_input_client.confirm_action(action, **options)
end

#get_human_feedback(prompt, **options) ⇒ Object



497
498
499
# File 'lib/rcrewai/human_input.rb', line 497

def get_human_feedback(prompt, **options)
  human_input_client.get_feedback(prompt, **options)
end

#request_human_approval(message, **options) ⇒ Object



477
478
479
# File 'lib/rcrewai/human_input.rb', line 477

def request_human_approval(message, **options)
  human_input_client.request_approval(message, **options)
end

#request_human_choice(prompt, choices, **options) ⇒ Object



485
486
487
# File 'lib/rcrewai/human_input.rb', line 485

def request_human_choice(prompt, choices, **options)
  human_input_client.request_choice(prompt, choices, **options)
end

#request_human_input(prompt, **options) ⇒ Object



481
482
483
# File 'lib/rcrewai/human_input.rb', line 481

def request_human_input(prompt, **options)
  human_input_client.request_input(prompt, **options)
end

#request_human_review(content, **options) ⇒ Object



489
490
491
# File 'lib/rcrewai/human_input.rb', line 489

def request_human_review(content, **options)
  human_input_client.request_review(content, **options)
end