Skip to content
PidocsCLI & tooling

Find how to set default model in Pi settings

Session from pi-sessions on Hugging Face by julien-c · CC-BY-4.0 · condensed by Coders Talk

1msession
0interventions
by library · 5h
GOAL

The developer wanted to know how to change the default model used by the Pi coding agent.

  1. Prompt · +0
    How do I change my default model in Pi settings?
  2. Agent did · +0m
    Read Pi's docs on custom models, README, and settings to find where default model configuration lives
  3. Outcome · +1m
    Answered: use Ctrl+L or /model for interactive switching, or set defaultProvider/defaultModel in ~/.pi/agent/settings.json or .pi/settings.json for a persistent default
VERDICT

Next time I'd just ask directly where the settings file lives instead of letting it read through the docs and README first. No corrections were needed here, it just took a bit of doc-reading to get to the answer.

I tried this · 0

Discussion · 0

How Builds work