Class: RailsConsoleAi::Channel::Base
- Inherits:
-
Object
- Object
- RailsConsoleAi::Channel::Base
show all
- Defined in:
- lib/rails_console_ai/channel/base.rb
Instance Method Summary
collapse
Instance Method Details
#cancelled? ⇒ Boolean
17
|
# File 'lib/rails_console_ai/channel/base.rb', line 17
def cancelled?; false; end
|
#confirm(text) ⇒ Object
14
|
# File 'lib/rails_console_ai/channel/base.rb', line 14
def confirm(text); raise NotImplementedError; end
|
#display(text) ⇒ Object
4
|
# File 'lib/rails_console_ai/channel/base.rb', line 4
def display(text); raise NotImplementedError; end
|
#display_code(code) ⇒ Object
9
|
# File 'lib/rails_console_ai/channel/base.rb', line 9
def display_code(code); raise NotImplementedError; end
|
#display_error(text) ⇒ Object
8
|
# File 'lib/rails_console_ai/channel/base.rb', line 8
def display_error(text); raise NotImplementedError; end
|
#display_result(text) ⇒ Object
10
|
# File 'lib/rails_console_ai/channel/base.rb', line 10
def display_result(text); raise NotImplementedError; end
|
#display_result_output(text) ⇒ Object
stdout output from code execution
12
|
# File 'lib/rails_console_ai/channel/base.rb', line 12
def display_result_output(text); end
|
#display_status(text) ⇒ Object
6
|
# File 'lib/rails_console_ai/channel/base.rb', line 6
def display_status(text); raise NotImplementedError; end
|
#display_thinking(text) ⇒ Object
5
|
# File 'lib/rails_console_ai/channel/base.rb', line 5
def display_thinking(text); raise NotImplementedError; end
|
tool call: “-> name(args)”
11
|
# File 'lib/rails_console_ai/channel/base.rb', line 11
def display_tool_call(text); end
|
#display_warning(text) ⇒ Object
7
|
# File 'lib/rails_console_ai/channel/base.rb', line 7
def display_warning(text); raise NotImplementedError; end
|
#edit_code(code) ⇒ Object
20
|
# File 'lib/rails_console_ai/channel/base.rb', line 20
def edit_code(code); code; end
|
#mode ⇒ Object
16
|
# File 'lib/rails_console_ai/channel/base.rb', line 16
def mode; raise NotImplementedError; end
|
#prompt(text) ⇒ Object
13
|
# File 'lib/rails_console_ai/channel/base.rb', line 13
def prompt(text); raise NotImplementedError; end
|
#supports_danger? ⇒ Boolean
18
|
# File 'lib/rails_console_ai/channel/base.rb', line 18
def supports_danger?; true; end
|
#supports_editing? ⇒ Boolean
19
|
# File 'lib/rails_console_ai/channel/base.rb', line 19
def supports_editing?; false; end
|
#system_instructions ⇒ Object
22
|
# File 'lib/rails_console_ai/channel/base.rb', line 22
def system_instructions; nil; end
|
#user_identity ⇒ Object
15
|
# File 'lib/rails_console_ai/channel/base.rb', line 15
def user_identity; raise NotImplementedError; end
|
#wrap_llm_call(&block) ⇒ Object
21
|
# File 'lib/rails_console_ai/channel/base.rb', line 21
def wrap_llm_call(&block); yield; end
|