ollama-d ~master (2026-03-07T12:39:47.7280963)
Dub
Repo
OllamaClient.listModels
ollama
client
OllamaClient
Lists all locally available models.
class
OllamaClient
@
safe
string
listModels
(
)
Return Value
Type:
string
Pretty-printed JSON string of model details.
Meta
Source
See Implementation
ollama
client
OllamaClient
constructors
this
functions
chat
chatCompletions
chatStream
completions
copy
createModel
deleteModel
embed
generate
generateStream
getModels
getVersion
listModels
ps
pull
push
setTimeOut
showModel
Lists all locally available models.