Sha256: 8445bd40dd4e9dd44d682fa4853e75ebaa4e94ff027ba556bfc31adda09990a2
Contents?: true
Size: 317 Bytes
Versions: 20
Compression:
Stored size: 317 Bytes
Contents
class Ollama::Handlers::Print include Ollama::Handlers::Concern def initialize(output: $stdout) super @output.sync = true end def call(response) if content = response.response || response.message&.content @output.print content end response.done and @output.puts self end end
Version data entries
20 entries across 20 versions & 1 rubygems