Class: LLM::Shell::Command::ShowChat
- Inherits:
-
Object
- Object
- LLM::Shell::Command::ShowChat
- Includes:
- Utils
- Defined in:
- lib/llm/shell/commands/show_chat.rb
Instance Method Summary collapse
-
#call ⇒ void
Emits the full chat history to standard output.
- #initialize(context) ⇒ LLM::Shell::Command::ShowChat constructor
Constructor Details
#initialize(context) ⇒ LLM::Shell::Command::ShowChat
12 13 14 |
# File 'lib/llm/shell/commands/show_chat.rb', line 12 def initialize(context) @context = context end |
Instance Method Details
#call ⇒ void
This method returns an undefined value.
Emits the full chat history to standard output
19 20 21 22 |
# File 'lib/llm/shell/commands/show_chat.rb', line 19 def call clear_screen emit end |