Method: OllamaChat::FollowChat#initialize
- Defined in:
- lib/ollama_chat/follow_chat.rb
#initialize(chat:, messages:, voice: nil, output: STDOUT) ⇒ FollowChat
Returns a new instance of FollowChat.
7 8 9 10 11 12 13 14 |
# File 'lib/ollama_chat/follow_chat.rb', line 7 def initialize(chat:, messages:, voice: nil, output: STDOUT) super(output:) @chat = chat @output.sync = true @say = voice ? Handlers::Say.new(voice:) : NOP @messages = @user = nil end |