Find how to set default model in Pi agent settings
Session from pi-sessions on Hugging Face by julien-c · CC-BY-4.0 · condensed by Coders Talk
1msession
0interventions
GOAL
Figure out how to change the default LLM model used by the Pi coding agent.
- +0Prompt · +0How can I change my default model in my Pi settings?
- +0mAgent did · +0mRead Pi's models.md, README.md, and settings.md docs to find where default model configuration lives
- +1mOutcome · +1mAnswered: use Ctrl+L or /model to switch on the fly, or set defaultProvider/defaultModel in ~/.pi/agent/settings.json or .pi/settings.json for a persistent default
VERDICT
I'd just ask directly for the settings file location and JSON keys next time instead of letting it read three docs files. It found the answer fine, pointing to /model for quick switching and defaultProvider/defaultModel in settings.json for a persistent change, but it took a few doc reads to get there.