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