← 返回更新日志

Pi v0.75.1

2026-05-18 · GitHub 原文
### 修复 - 修复了配置选择器,使其可见行数能根据终端高度自动缩放 ([#4243](https://github.com/earendil-works/pi/pull/4243) by [@samjonester](https://github.com/samjonester))。 - 修复了 Anthropic 兼容的 API 密钥请求,使其忽略无关的 `ANTHROPIC_AUTH_TOKEN` 环境变量值,从而避免从 `@earendil-works/pi-ai` 继承的无效 Bearer 凭证影响小米 MiMo 等提供商 ([#4342](https://github.com/earendil-works/pi/issues/4342))。 - 修复了 Amazon Bedrock 消息转换逻辑,使其跳过未知内容块而不是导致流失败,该修复继承自 `@earendil-works/pi-ai` ([#4223](https://github.com/earendil-works/pi/issues/4223))。 - 修复了 Azure OpenAI Responses 和 OpenAI Responses 的错误格式化,将 HTTP 状态码前缀添加到 `errorMessage` 中,以便从 `@earendil-works/pi-ai` 继承的代理级自动重试分类器能正确匹配瞬态 5xx 和 429 错误 ([#4232](https://github.com/earendil-works/pi/issues/4232))。 - 修复了 OpenCode Go 的 Kimi 推理回放功能,仅针对 OpenCode Go 将流式传输的 `reasoning` 字段规范化回 `reasoning_content`,该修复继承自 `@earendil-works/pi-ai` ([#4251](https://github.com/earendil-works/pi/issues/4251))。 - 修复了小米 MiMo 模型元数据,使其使用 OpenAI 兼容的端点和 `openai-completions` API,从而恢复从 `@earendil-works/pi-ai` 继承的多轮思考/工具调用会话 ([#4505](https://github.com/earendil-works/pi/issues/4505))。 - 修复了 Node 26.0 下压缩 fetch 响应的 JSON 解析失败问题,通过在与 pi 的全局分发器共存时安装 undici fetch 全局变量来解决 ([#4650](https://github.com/earendil-works/pi/issues/4650), [#4652](https://github.com/earendil-works/pi/issues/4652), [#4653](https://github.com/earendil-works/pi/issues/4653))。 - 修复了 Windows 上的 npm 系列包命令,避免在安装前缀包含空格时发生 Shell 参数分割问题 ([#4623](https://github.com/earendil-works/pi/issues/4623))。 ### 移除 - 移除了从 `@earendil-works/pi-ai` 继承的无法正常工作的 OpenAI Codex 快速模型变体。