id = "ollama"
name = "Ollama"
homepage = "https://ollama.com"
description = "Start building with open models."
icon = "SimpleIcons:ollama"
executables = ["ollama"]
[dotfiles]
paths = ["~/.ollama/server.json"]
exclude = ["~/.ollama/models/", "~/.ollama/history"]
secret = ["~/.ollama/id_ed25519"]
[commands]
format = 1
label = "Ollama"
description = "Run, inspect and remove local models. Serving, pulling, pushing and Modelfile creation are left out."
quality = "ai-draft"
base = "fig:ollama"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/ollama.ts"
license = "MIT"
[[commands.subcommand]]
path = ["run"]
label = "Run a model"
description = "Chat with a model."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/ollama.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "model"
label = "Model"
description = "Model name, for example llama3.2."
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "verbose"
label = "Verbose"
description = "Show timings and token statistics."
type = "boolean"
option = ["--verbose"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "run"
label = "Run a model"
fields = ["model", "verbose"]
required = ["model"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["model", "verbose"]
[[commands.subcommand]]
path = ["show"]
label = "Show model info"
description = "Show information for a model."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/ollama.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "model"
label = "Model"
description = "Model name, for example llama3.2."
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.task]]
id = "show"
label = "Show a model"
fields = ["model"]
required = ["model"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["model"]
[[commands.subcommand]]
path = ["rm"]
label = "Remove a model"
description = "Delete a local model."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/ollama.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "model"
label = "Model"
description = "Model name, for example llama3.2."
type = "string"
position = 0
effect = "delete"
sources = ["fig"]
[[commands.subcommand.task]]
id = "rm"
label = "Remove a model"
fields = ["model"]
required = ["model"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["model"]