Class: LLM::Shell::Command::SystemPrompt

Inherits:
LLM::Shell::Command show all
Defined in:
lib/llm/shell/commands/system_prompt.rb

Instance Method Summary collapse

Methods inherited from LLM::Shell::Command

builtin?, description, enabled?, inherited, #initialize, name

Constructor Details

This class inherits a constructor from LLM::Shell::Command

Instance Method Details

#callvoid

This method returns an undefined value.

Emits the system prompt to standard output



11
12
13
14
15
# File 'lib/llm/shell/commands/system_prompt.rb', line 11

def call
  pager do |io|
    io.write render(bot.messages[0])
  end
end