Bug Fixes
- Fixed detection of context length errors from multiple AI providers. These now consistently report as
context_length_exceededand no longer cause unnecessary retries or get mistaken for quota/billing failures. - Fixed handling of spent budget or plan-exhausted responses. They are now recognized as a used-up plan and are not retried in place.
Improvements
- Added regression tests for vendor-specific context overflow and out-of-budget scenarios.
Install
Download from usemagpie.ai, or curl -fsSL https://usemagpie.ai/install.sh | sh. An installed magpie updates itself.
- macOS (Apple Silicon):
magpie-darwin-arm64.dmg - macOS (Intel):
magpie-darwin-amd64.dmg - Windows:
magpie-windows-amd64.exe(ARM:magpie-windows-arm64.exe) - Linux:
magpie-linux-amd64/magpie-linux-arm64(needs GTK 3 and WebKitGTK 4.1) - Terminal only:
magpie-cli-<os>-<arch>
Bug Fixes
- 修复了来自多个 AI 提供商上下文长度错误的检测问题。现在这些错误会统一报告为
context_length_exceeded,不再导致不必要的重试,也不会被误判为配额/账单故障。 - 修复了预算已用完或套餐已耗尽响应的处理问题。现在会将其识别为套餐已用完,并且不会就地重试。
Improvements
- 为特定供应商的上下文溢出和预算不足场景添加了回归测试。
安装
从 usemagpie.ai 下载,或运行 curl -fsSL https://usemagpie.ai/install.sh | sh。已安装的 magpie 会自动更新。