Module: RubyTodo::AICommands
- Defined in:
- lib/ruby_todo/commands/ai_commands.rb
Instance Method Summary collapse
Instance Method Details
#ai_ask(*prompt_args) ⇒ Object
5 6 7 8 |
# File 'lib/ruby_todo/commands/ai_commands.rb', line 5 def ai_ask(*prompt_args) prompt = prompt_args.join(" ") ai_command.ask(prompt, verbose: [:verbose], api_key: [:api_key]) end |
#ai_configure ⇒ Object
10 11 12 |
# File 'lib/ruby_todo/commands/ai_commands.rb', line 10 def ai_configure ai_command.configure end |