A Pi extension for switching models within the current session without changing the default model.
Pi's standard /model behavior remains unchanged.
pi install npm:pi-session-only-modelRestart Pi after installation.
Security: Pi packages run with full system access. Extensions execute arbitrary code, and skills can instruct the model to perform any action including running executables. Review the source code before installing third-party packages.
This package declares @earendil-works/pi-coding-agent as a wildcard peer dependency ("*"). Pi bundles the host at runtime; the extension is tested against Pi 0.80.10 and later.
git clone https://github.com/wh3at/pi-session-only-model.git \
~/.pi/agent/extensions/pi-session-only-model/session-only-model openrouter/tencent/hy3:free
/session-only-model anthropic/claude-sonnet-4-6 --thinking high
/session-only-model --thinking minimal
/session-only-model status
/session-only-model reset
MIT