v0.6.2
songquanpeng/one-apiv0.6.2Mar 15, 2024by github-actions[bot]
AI Summary
A major update adding Claude 3, Groq, and Ollama channel support. It also introduces automatic channel disabling based on error rates and improved log management.
Key Highlights
- Added support for Claude 3, Groq, and Ollama channels.
- Implemented automatic channel disabling based on error rates.
- Improved log management (single file storage) and channel editing with auto-fill models.
New Features
- Claude 3 series support
- Groq channel support
- Ollama channel support
- Automatic channel disabling based on error rates
- Message Pusher for alerts
- Docker-compose private registry support
Full Release Notes
## What's Changed * 支持 Claude 3 系列模型 * 现在渠道编辑页面可以直接填充与本渠道相关的全部模型了 * 支持了 Groq 渠道 * 删除了之前为国产大模型不支持 system 提示词时的兼容措施 * 优化了 stream 模式下的错误检测 * 现在渠道编辑页面可以直接搜索渠道类型与模型名称了 * 现在用户被删除、封禁后将实时生效 * 现在可以根据错误率自动禁用渠道了,需要手动开启,详见 README 中 METRIC 相关环境变量部分 * 修复了开启 Turnstile 后用用户无法修改密码的问题 * 现在支持通过 Message Pusher 将报警信息推送到各种 App 中了 * 现在 One API 将自动为你补齐缺失的模型的倍率 * 现在支持在渠道编辑页面传入大 key 了 * 现在日志只会保存到一个文件中,除非重新启动 * 现在会在 panic 时输出更多的信息以供 debug * 现在当缓存中用户额度过低时,会强制刷新缓存 * 支持了 Ollama 渠道 * 为百度渠道添加了更多的 Embeddable 模型支持 * fix: model name typo by @sparanoid in https://github.com/songquanpeng/one-api/pull/1109 * 修复百度模型中URL的字符串判断bug; by @Jguobao in https://github.com/songquanpeng/one-api/pull/1143 * 修改AMA问天为BotGem(官方改名) by @afafw in https://github.com/songquanpeng/one-api/pull/934 * Update OtherSetting.js by @yooyui in https://github.com/songquanpeng/one-api/pull/1148 * chore(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by @dependabot in https://github.com/songquanpeng/one-api/pull/1145 * feat: add support for private registry in docker-compose.yml by @warjiang in https://github.com/songquanpeng/one-api/pull/1103 ## New Contributors * @sparanoid made their first contribution in https://github.com/songquanpeng/one-api/pull/1109 * @Jguobao made their first contribution in https://github.com/songquanpeng/one-api/pull/1143 * @afafw made their first contribution in https://github.com/songquanpeng/one-api/pull/934 * @yooyui made their first contribution in https://github.com/songquanpeng/one-api/pull/1148 * @warjiang made their first contribution in https://github.com/songquanpeng/one-api/pull/1103 **Full Changelog**: https://github.com/songquanpeng/one-api/compare/v0.6.1...v0.6.2