Pi 1.6.1 增加决策模型,并调整 transcript 通知设置
简报
Pi 1.6.1 增加模型和扩展能力,同时调整 transcript 通知的配置方式。
新增能力
- codemode 的 models.classify() 可调用 GitHub Copilot 的 gpt-6-luna-decisions 和 Radius 决策模型;结果包含提供方的 responseId。
- 使用 ctx.ui.select()、ctx.ui.confirm() 和 ctx.ui.input() 的扩展对话框现在接受 blockedKind,用于标识被阻止的程序状态,例如权限请求。
- models.json 中的 Google Generative AI 和 Vertex 模型新增 compat.supportsStrictMode,支持以无版本号 ID 提供的 Gemini 3+ 模型。
设置与 bash 输出
- 原有的 showCacheMissNotices 设置被 notices.cacheMisses、notices.cacheWarming、notices.compactionCosts 和 notices.reasoningDrops 取代,可在 /settings 的 Notices 下配置。现有值会迁移到这四项设置。
- SettingsManager.getShowCacheMissNotices() 和 setShowCacheMissNotices() 已移除;请改用 getNotices() 和 setNotice()。
- bash 结构化输出现在包含 full_output_error,相关详情也增加 fullOutputError。当截断的 bash 输出无法保存到临时文件时,模型上下文和 TUI 会说明这一点。
由 AI 基于原文生成,完整细节请以原文为准。