class Ollama::Handlers::Single
def call(response)
def call(response) @array << response self end
def initialize(output: $stdout)
def initialize(output: $stdout) super @array = [] end
def result
def result @array.size <= 1 ? @array.first : @array end