New Features
- Provider-scoped API key environments -
auth.jsonAPI key entries can now includeenvoverrides for provider-specific Cloudflare, Azure OpenAI, Google Vertex, Amazon Bedrock, cache retention, and proxy settings without changing the project shell. See Auth File. - Global HTTP proxy setting - Configure
httpProxyonce in global settings to applyHTTP_PROXYandHTTPS_PROXYto Pi-managed HTTP clients. See Network. - Vercel AI Gateway attribution - Vercel AI Gateway requests now include Pi attribution headers by default. See API Keys.
Added
- Added Vercel AI Gateway request attribution headers (
http-refererandx-title) for Vercel AI Gateway models (#5798 by @rwachtler). - Added an
xpfooter marker when experimental features are enabled. - Added a global
httpProxysetting that applies asHTTP_PROXYandHTTPS_PROXYfor Pi-managed HTTP clients (#5790). - Added
auth.jsonAPI keyenvvalues so provider-specific environment overrides can be scoped to Pi and propagated to inherited provider configuration (#5728).
Changed
- Updated the vendored Markdown parser used by HTML session exports to
marked18.0.5.
Fixed
- Fixed inherited OpenAI Responses streaming to tolerate null message content from OpenAI-compatible servers before tool calls (#5819).
- Fixed inherited OpenCode DeepSeek V4 thinking requests to avoid sending both
thinkingandreasoning_effort(#5818). - Fixed device-code login to stop opening the browser automatically.
- Fixed inherited editor Cursor Up handling so non-empty drafts jump to the start of the line before browsing input history (#5789 by @4h9fbZ).
- Fixed inherited Z.AI GLM-5.2 thinking requests to send
reasoning_effortwith the provider'shigh/maxeffort mapping (#5770). - Fixed successful
pi updateon Windows to exit naturally instead of callingprocess.exit(0), avoiding a Node.js/libuv assertion after version-check network requests (#5805). - Fixed inherited Google and
google-vertexGemini model metadata to maplatestaliases to the current models, add Gemini 3.5 Flash for Vertex, correct Gemini 2.5 Flash Vertex cache pricing, and remove shut-down Vertex preview models (#5761). - Fixed the session selector to stay open and show the all-sessions empty state when both current-folder and all-scope session lists are empty (#5747).
- Fixed inherited Moonshot AI China model metadata to include Kimi K2.7 Code, and omitted unsupported thinking-off payloads for Kimi K2.7 Code models (#5760).