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 value
Default
{ }
Example
{ providers = { ollama = { api = "openai-completions"; apiKey = "ollama"; baseUrl = "http://localhost:11434/v1"; models = [ { id = "llama3.1:8b"; } ]; }; }; }
declared in: <home-manager/modules/programs/pi-coding-agent.nix>source unavailable