pi-ollama-cloud-models is 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 suffix, so the extension is non-destructive and does not touch any existing Ollama provider you have configured.
What it does
- Registers an
ollama-cloudprovider populated fromhttps://ollama.com/v1/models. - Enriches each model with capabilities and context length from
https://ollama.com/api/show. - Caches the list for 1 hour and falls back to a stale cache if the network is down.
- Adds a
/ollama-cloud-refreshcommand to force-refresh the list on demand.
Install it with:
pi install npm:pi-ollama-cloud-models
Or try it without installing:
pi -e npm:pi-ollama-cloud-models