Features
- Gateway keys can now be restricted to specific models, providers, or left unrestricted. Restricted keys only see and can use their allowed models.
- Unauthorized model requests with a restricted key are rejected with a 403 permission error before reaching any provider.
- Added a model access menu on the Gateway page to set allowed models for each key.
- Added
magpie gateway-key modelsCLI command for managing key model restrictions, andgateway-key listnow includes a MODELS column.
Improvements
- The model selection menu in the Gateway page now opens to the side and scrolls, so it stays visible in smaller windows.
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>
Features
- Gateway 密钥现在可以限制到特定模型、提供商,或不加限制。受限密钥只能看到并使用其被允许的模型。
- 使用受限密钥的未授权模型请求会在到达任何提供商之前被拒绝,并返回 403 权限错误。
- 在 Gateway 页面添加了模型访问菜单,用于为每个密钥设置允许的模型。
- 添加了
magpie gateway-key modelsCLI 命令,用于管理密钥的模型限制,并且gateway-key list现在包含 MODELS 列。
Improvements
- Gateway 页面中的模型选择菜单现在会向侧边展开并滚动,因此在较小的窗口中也能保持可见。
安装
从 usemagpie.ai 下载,或运行 curl -fsSL https://usemagpie.ai/install.sh | sh。已安装的 magpie 会自动更新。