programs.pi-coding-agent.models
Home-Manager option
JSON value
Custom model providers written to ~/.pi/agent/models.json. Each provider entry may contain baseUrl, api, apiKey, compat, and a models list with id, name, reasoning, etc. See <https://pi.dev/docs/latest/models> for the documentation.
type: JSON valueDefault
{ }Example
declared in: <home-manager/modules/programs/pi-coding-agent.nix>source unavailable{ providers = { ollama = { api = "openai-completions"; apiKey = "ollama"; baseUrl = "http://localhost:11434/v1"; models = [ { id = "llama3.1:8b"; } ]; }; }; }