Install
Install with PiG
pig install npm:pi-ollama-cloud-modelsInstall with Pi
pi install npm:pi-ollama-cloud-modelsPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./extensions"
]
}README
Written by the package's publisher, shown as published in version 0.2.0 (README.md). PiG does not review it.
pi-ollama-cloud-models
A pi extension that keeps your Ollama Cloud model list up to
date automatically. It fetches the models available on
ollama.com and registers them under a dedicated
ollama-cloud provider, so they show up in /model without manually editing
~/.pi/agent/models.json.
Cloud models are reached through your local Ollama daemon
(http://127.0.0.1:11434/v1) using the :cloud / -cloud name suffix, so this
extension is non-destructive: it does not touch any existing ollama provider
you have configured.
Install
pi install npm:pi-ollama-cloud-models
Or try it without installing:
pi -e npm:pi-ollama-cloud-models
What it does
- On startup, registers an
ollama-cloudprovider populated fromhttps://ollama.com/v1/models, enriched with per-model capabilities and context length fromhttps://ollama.com/api/show. - Caches the list for 1 hour at
~/.pi/agent/extensions/.ollama-cloud-cache.json; falls back to a stale cache if the network is down. - Adds a
/ollama-cloud-refreshcommand to force-refresh the list and re-register the provider immediately (no/reloadneeded).
Requirements
- A running local Ollama daemon (
ollama serve) athttp://127.0.0.1:11434. - An Ollama account signed in (
ollama sign in) so cloud models can be offloaded from your machine.
Model metadata
| Field | Source |
|---|---|
id | <base>:cloud (untagged) or <base>-cloud (tagged) |
reasoning | true when /api/show reports the thinking capability |
input | ["text", "image"] when vision is reported |
contextWindow | <arch>.context_length from model_info |
License
MIT