Method: Async::Ollama::Client#models

Defined in:
lib/async/ollama/client.rb

#modelsObject

Retrieves the list of available models from Ollama.



58
59
60
# File 'lib/async/ollama/client.rb', line 58

def models
  Models.get(self.with(path: "/api/tags"))
end