Class: LLM::Shell::Command::SystemPrompt
- Inherits:
-
Object
- Object
- LLM::Shell::Command::SystemPrompt
- Includes:
- Utils
- Defined in:
- lib/llm/shell/commands/system_prompt.rb
Instance Method Summary collapse
-
#initialize(context) ⇒ LLM::Shell::Command::SystemPrompt
constructor
-
#call ⇒ void
Emits the system prompt to standard output.
Constructor Details
#initialize(context) ⇒ LLM::Shell::Command::SystemPrompt
12 13 14 |
# File 'lib/llm/shell/commands/system_prompt.rb', line 12 def initialize(context) @context = context end |
Instance Method Details
#call ⇒ void
This method returns an undefined value.
Emits the system prompt to standard output
19 |
# File 'lib/llm/shell/commands/system_prompt.rb', line 19 def call = puts render(bot..to_a[0]) |