@vtstech/pi-ollama-sync
v1.3.2
Published
Ollama model sync extension for Pi Coding Agent
Maintainers
Readme
@vtstech/pi-ollama-sync
Ollama sync extension for the Pi Coding Agent.
Auto-populate models.json with all available Ollama models — works with local and remote instances.
# Install as part of the bundle
pi install git:github.com/VTSTech/pi-coding-agent
# Or install individually
pi install "npm:@vtstech/pi-ollama-sync"Commands
/ollama-sync Sync from models.json URL (or localhost)
/ollama-sync https://your-tunnel-url Sync from a specific remote URLFeatures
- Queries Ollama
/api/tagsfor available models (local or remote) - Writes the actual Ollama URL back into
models.jsonso other extensions pick it up - URL priority: CLI argument → existing
models.jsonbaseUrl →OLLAMA_HOSTenv → localhost - Preserves existing provider config (apiKey, compat settings)
- Defaults to
openai-completionsAPI mode - Sorts models by size (smallest first)
- Auto-detects reasoning-capable models (deepseek-r1, qwq, qwen3, o1, o3, think, reason)
- Merges with existing per-model settings
- Per-model metadata in sync report (parameter size, quantization level, model family)
- Registered as both
/ollama-syncslash command andollama_synctool
Links
License
MIT — VTSTech
