Sha256: 4888806ce39cba546249761678582f1616707b024229ed165a0afccf08643a63
Contents?: true
Size: 339 Bytes
Versions: 25
Compression:
Stored size: 339 Bytes
Contents
class Ollama::Commands::Delete include Ollama::DTO def self.path '/api/delete' end def initialize(name:) @name, @stream = name, false end attr_reader :name, :stream attr_writer :client def perform(handler) @client.request(method: :delete, path: self.class.path, body: to_json, stream:, handler:) end end
Version data entries
25 entries across 25 versions & 1 rubygems