Sha256: 7ae24d155e529541f08110f5861f9efdd44c11c0ce5260752584f88a75043c76
Contents?: true
Size: 380 Bytes
Versions: 20
Compression:
Stored size: 380 Bytes
Contents
class Ollama::Commands::Show include Ollama::DTO def self.path '/api/show' end def initialize(name:, verbose: nil) @name, @verbose = name, verbose @stream = false end attr_reader :name, :verbose, :stream attr_writer :client def perform(handler) @client.request(method: :post, path: self.class.path, body: to_json, stream:, handler:) end end
Version data entries
20 entries across 20 versions & 1 rubygems