Class: LLM::Shell::Command::ShowHistory
- Inherits:
-
Object
- Object
- LLM::Shell::Command::ShowHistory
- Includes:
- Utils
- Defined in:
- lib/llm/shell/commands/show_history.rb
Instance Method Summary collapse
-
#initialize(context) ⇒ LLM::Shell::Command::ShowHistory
constructor
-
#call ⇒ void
Emits the full chat history to standard output.
Constructor Details
#initialize(context) ⇒ LLM::Shell::Command::ShowHistory
12 13 14 |
# File 'lib/llm/shell/commands/show_history.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_history.rb', line 19 def call clear_screen emit end |