428
429
430
431
432
433
434
435
436
437
438
439
440
441
|
# File 'lib/rcrewai/task.rb', line 428
def new(name)
Task.new(
name: name,
description: options[:description],
agent: options[:agent],
expected_output: options[:expected_output],
async: options[:async]
)
puts "Task '#{name}' created"
puts "Description: #{options[:description]}"
puts "Expected Output: #{options[:expected_output] || 'Not specified'}"
puts "Assigned to: #{options[:agent] || 'No agent assigned'}"
puts "Async: #{options[:async]}"
end
|