Pi 1.6.0
New version of pi. Download from npm or view release on GitHub.
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)
Removed
- Removed the retired
deepseek-v3.2anddeepseek-v4-flashfrom the Qwen Token Plan Team providers; usedeepseek-v4-flash-0731ordeepseek-v4.1-flash(#11773)