Release notes
Pi v1.6.0
New Features
- GPT-6.2 Astra and GPT-6.2 Sol: both models are available on the
openai,azure, andopenai-codexproviders, and GPT-6.2 Sol is now the default model for all three. See Providers.
Breaking Changes
- Extension components:
render()now returnsreadonly string[], andContainerreturns the same cached array while its children are unchanged. Extensions that modify render output in place, includingsuper.render()in aContainersubclass or an embedded component's output, must copy it first (#9549)
Added
- Added GPT-6.2 Astra and GPT-6.2 Sol to the
openai,azure, andopenai-codexproviders. Both reject reasoning effortnoneandminimal, so thinking leveloffis unavailable. Azure serves them with a 1.05M context window; Codex serves GPT-6.2 Sol with 500K and GPT-6.2 Astra with 272K - Added
qwen4-max-previewto the Qwen Token Plan Individual providers (#12259) - Added
deepseek-v4.1-flashanddeepseek-v4.1-flash-1017to the Qwen Token Plan Individual providers, and per-plan key variablesQWEN_TOKEN_PLAN_TEAM_API_KEY,QWEN_TOKEN_PLAN_TEAM_CN_API_KEY,QWEN_TOKEN_PLAN_INDIVIDUAL_API_KEY, andQWEN_TOKEN_PLAN_INDIVIDUAL_CN_API_KEY; the sharedQWEN_TOKEN_PLAN_API_KEYandQWEN_TOKEN_PLAN_CN_API_KEYstill work (#11773) - Added a transcript notice when OpenAI drops reasoning items from a request, such as
OpenAI dropped 2 reasoning items: prefix_mismatch (details in session)after compaction on GPT-6.2. Like the Anthropic thinking notice, it is shown whenshowCacheMissNoticesis on and only when more items are dropped than in the previous response. Both notices now name the reasons
Changed
- Qwen Token Plan providers now use the current gateways (
token-plan.maas.qwencloudapi.cominternational,token-plan.maas.qianwenaiapi.comChina), andqwen-token-planandqwen-token-plan-cnare named "Qwen Token Plan Team" and "Qwen Token Plan Team CN". Provider IDs are unchanged, and the oldaliyuncs.comhosts still work (#11773) - Updated
undicito 8.12.4 for security advisories GHSA-mqg3-3v4r-cm32, GHSA-7xg3-fphp-28hg, GHSA-5rm8-gv32-r954, GHSA-9v6h-8rgp-m69f, GHSA-3g9m-rv3r-w5w2, and GHSA-r4pc-4jcp-7pqc (#12200) - The default model for the
openai,azure, andopenai-codexproviders is now GPT-6.2 Sol (gpt-6.2-sol) instead of GPT-6.1 Sol, at the same price - The find tool's path patterns are now relative to the search directory, like grep's
glob:src/*.tsfindssrc/a.tsbut no longerpkg/src/a.ts; use**/src/*.tsto match at any depth. Patterns without/still match file names at any depth (#12066) - The llama.cpp extension now connects to
http://127.0.0.1:9931by default, the current llama-server default port, instead of port 8080 (#12001 by @julien-c) - Anthropic message threads are now on by default for any provider whose baseUrl is on api.anthropic.com, not only the
anthropicprovider (#11987) - The resume command printed on exit is now on its own line after
To resume this session:, so it can be selected with a triple-click (#12237)
Fixed
- Fixed
readstoring a note that the current model does not support images, which was replayed to the model as stale text after switching to a vision model. The image is still replaced with a placeholder per request for models without image input, and the read result now shows the warning in the TUI only, also when collapsed (#12131) - Fixed MCP tools loaded by
tool_searchbeing dropped on resume and/reloadwhen an extension deactivates only its own tool atsession_start, as pi-web-access and pi-subagents do intoolActivation: "auto"mode (#11996) - Fixed the standalone binary failing to resolve extension npm dependencies whose entry point is declared in
package.jsonmainorexports(for exampleshiki,yaml,graceful-fs), including imports made from inside other dependencies (#12012) - Fixed the find tool returning no results for patterns starting with
./, such as./src/*.ts(#12020) - Fixed pi exiting with an uncaught
AbortErrorwhen areadtool call is cancelled while the file is being opened (#11956) - Fixed pi exiting with an uncaught
AbortErrorwhen the session picker cancels loading after skipping a.jsonlfile that is not a session, and fixed such files staying open (#11956) - Fixed
/sharecrashing pi when the GitHub CLI fails to start - Fixed
pi updateon Windows managed installs failing with "Could not verify managed Pi" when an older system Node.js comes before the installer's standalone Node.js on PATH (#12048) - Fixed
/exportHTML showing raw terminal hyperlink escape codes around links in custom tool output; links are now clickable (#12003) - Fixed the bash tool returning no output, with a footer like
[Showing lines 3-2 of 2], when the output ends in one line longer than about 100KB, such as agrepmatch in a minified file; it now shows the end of that line (#12062) - Fixed provider errors reading "Connection closed." not triggering automatic retries (#12064)
- Fixed
/resumesometimes selecting an unrelated session while the list reloads after deleting or renaming a session (#12106) - Fixed Groq Qwen models failing with
400 Unexpected message role; OpenAI-compatible providers other than OpenAI now receive system messages (the system prompt and mid-conversation system messages) with thesystemrole (#10741) - Fixed
enabledModels/--modelswarnings such asNo models match pattern "github-copilot/nope"being written over the interactive TUI on every/new,/resumeand/fork, which left stale lines in fullscreen mode. The warnings are now shown once at startup, in the chat in interactive mode and on stderr in other modes; RPC mode no longer repeats them on stderr for eachnew_session,switch_sessionorfork(#11264) - Fixed the find tool matching path patterns through folders above the search path: with the project in
~/src/app,src/**/*.tsreturned every.tsfile in the project (#12066) - Fixed pi crashing with
RangeError: Maximum call stack size exceeded
…