From 3e3975c72445d5744c333e6eb2917e4f58a6e703 Mon Sep 17 00:00:00 2001 From: alexion Date: Tue, 28 Jul 2026 22:36:32 -0400 Subject: [PATCH] feat(pi): point Pi at the Codex subscription Switch the default provider from Anthropic to OpenAI and the default model to gpt-5.3-codex, so Pi runs on a ChatGPT Plus/Pro (Codex) subscription. The OAuth login stays unmanaged in ~/.pi/agent/auth.json, as before. --- modules/agents/pi.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/agents/pi.nix b/modules/agents/pi.nix index e323321..e8d12db 100644 --- a/modules/agents/pi.nix +++ b/modules/agents/pi.nix @@ -19,9 +19,9 @@ in enable = true; settings = { - defaultProvider = "anthropic"; - # Pi's catalogue id for Opus. - defaultModel = "claude-opus-4-8"; + defaultProvider = "openai"; + # Pi's catalogue id for OpenAI's Codex model, served by the ChatGPT subscription. + defaultModel = "gpt-5.3-codex"; enableAnalytics = false; }; };