Bug Fixes
- Fixed xAI tool schemas to strip unsupported
nullrequired fields, including those nested inside arrays. - Fixed xAI message handling to avoid sending
nullcontent and system messages, matching xAI API requirements. - Fixed custom tools being incorrectly converted to functions when an upstream provider labels an unknown type as
custom.
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
- 修复了 xAI 工具 schema,以剥离不支持的
null必填字段,包括嵌套在数组内的字段。 - 修复了 xAI 消息处理,避免发送
null内容和系统消息,以符合 xAI API 要求。 - 修复了当上游提供方将未知类型标记为
custom时,自定义工具被错误转换为函数的问题。
安装
从 usemagpie.ai 下载,或运行 curl -fsSL https://usemagpie.ai/install.sh | sh。已安装的 magpie 会自动更新。