Releases: songquanpeng/one-api
Releases · songquanpeng/one-api
v0.6.6
What's Changed
- chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 by @dependabot in #1335
- feat: support aws bedrockruntime claude3 by @Laisky in #1328
- fix: logger race by @Laisky in #1339
- feat: groq support Llama3 now by @tylinux in #1333
- feat: add function and tools support for Gemini by @mxdlzg in #1358
- fix: fix default theme blank screen when edit channel again by @tylinux in #1363
- feat: add cohere support by @ye4293 in #1355
- fix: refactor Gemini adaptor to support streaming content generation by @mxdlzg in #1382
- feat: support for the ollama vision model by @nongmo677 in #1376
- feat: use mapped model name to test by @tylinux in #1370
- fix: claude stream response parse by @WqyJh in #1334
- fix: fix zhipu embedding error when input is array but not string by @caixinjiang in #1306
- fix: fix getPreConsumedQuota by @plusye in #1312
New Contributors
- @tylinux made their first contribution in #1333
- @mxdlzg made their first contribution in #1358
- @nongmo677 made their first contribution in #1376
- @caixinjiang made their first contribution in #1306
- @plusye made their first contribution in #1312
Full Changelog: v0.6.5...v0.6.6
v0.6.5
What's Changed
- fix: update model-ratio.go 修正文心计费模型名称 by @manjieqi in #1241
- feat: add embedding-2 support for zhipu by @cdredfox in #1273
- feat: update baidu model name & ratio by @manjieqi in #1253
- feat: update baidu model name & ratio by @manjieqi in #1277
- feat: support Ali stable-diffusion-xl and wanx-v1 model by @mo2g in #1240
- fix: fix Lark icon button style by @AI-ASS in #1279
- feat: berry theme update & bug fix by @MartialBE in #1282
- chore: resolve the issue of onclick event scope for custom Lark button by @AI-ASS in #1281
- feat: support function call for ali (close #1242)
- feat: support top_k for claude (close #1239)
- feat: initial function call support for xunfei
- feat: able to set model limitation for token (close #178)
- feat: /v1/models now only return available models
- feat: add subnet validation (#1275)
- feat: support feishu login now
- fix: do not detect quota field in error message (close #1276)
- feat: show token info when quota is not enough (close #1274)
- feat: able to change gemini version (close #1211)
- feat: add gpt-4-turbo support (close #1304)
New Contributors
- @manjieqi made their first contribution in #1241
- @cdredfox made their first contribution in #1273
- @mo2g made their first contribution in #1240
Full Changelog: v0.6.4...v0.6.5
v0.6.4
What's Changed
- feat: 移除 azure model 的 TrimSuffix by @lgxisbb in #1193
- feat: 支持 ollama 的 embedding 接口 by @xietong in #1221
- fix: 修复了讯飞的错误处理
- feat: 现在调用 /api/token 会返回创建的 token 的信息了
- fix: 修复了 audio 相关接口的错误时未返还 quota 的问题
- chore: 更新了主题 berry 的文案
- fix: 修复了自动填充的模型列表不正确的问题
- fix: 修复了在未启用缓存的情况下重试时依然使用最高优先级的问题
New Contributors
Full Changelog: v0.6.3...v0.6.4
v0.6.3
What's Changed
- fix: 修复
berry
主题下令牌
在编辑
后点击新建
弹窗值的初始化问题 by @yooyui in #1165 - fix: fix ratio of gpt-3.5-turbo (close #1011) by @mrhaoji in #1163
- fix: change Moonshot value to 25 by @zu1k in #1158
- chore(deps): bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4 by @dependabot in #1157
- ZhiPuAI compatibility with the temperature topP parameter (0.0, 1) by @majian159 in #1091
- 零一万物的模型价格错误了 by @ye4293 in #1182
- feat: add user list sorting and pagination enhancements (#77, #602) by @mrhaoji in #1178
- fix: fix panel cards style(修复penal卡片高度不一致) by @shuiRong in #1171
- feat: support Azure OpenAI TTS. by @techotaku in #1177
- feat: update default API version for Azure OpenAI by @techotaku in #994
- docs: update README by @mrhaoji in #1186
New Contributors
- @zu1k made their first contribution in #1158
- @majian159 made their first contribution in #1091
- @shuiRong made their first contribution in #1171
Full Changelog: v0.6.2...v0.6.3
v0.6.2
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 #1109
- 修复百度模型中URL的字符串判断bug; by @Jguobao in #1143
- 修改AMA问天为BotGem(官方改名) by @afafw in #934
- Update OtherSetting.js by @yooyui in #1148
- chore(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by @dependabot in #1145
- feat: add support for private registry in docker-compose.yml by @warjiang in #1103
New Contributors
- @sparanoid made their first contribution in #1109
- @Jguobao made their first contribution in #1143
- @afafw made their first contribution in #934
- @yooyui made their first contribution in #1148
- @warjiang made their first contribution in #1103
Full Changelog: v0.6.1...v0.6.2
v0.6.1
What's Changed
- 修复了版本号为空的问题;
- 支持了百川的模型;
- 支持了 MiniMax 的模型;
- 支持了 ChatGLM-4;
- 修复了 Azure 渠道的测试功能;
- 支持了 Mistral 的模型;
- 支持了在重试时切换到其他优先级的渠道;
- 修复了 Ali 的模型在 relay 到时候部分参数被 ignore 掉的问题;
- 当进行渠道测试的时候,如果 gpt-3.5-turbo 不在模型列表中,则使用模型列表中的第一个模型进行测试;
New Contributors
- @momomobinx made their first contribution in #1046
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- fix: remove useless wrong index by @Calcium-Ion in #916
- refactor: refactor relay part by @songquanpeng in #935
- fix: aff not effective with berry by @MartialBE in #937
- refactor: refactor relay part by @songquanpeng in #957
- fix: fix primary chat button in berry theme by @yongman in #951
- feat: sync models with OpenAI by @mrhaoji in #971
- chore: update code implementation by @Laisky in #978
New Contributors
- @songquanpeng made their first contribution in #935
- @yongman made their first contribution in #951
Full Changelog: v0.5.11...v0.6.0
v0.5.11
What's Changed
- fix: gpt-4 vision 传入 base64 字符串图片时解析错误 by @MartialBE in #858
- feat: 改进阿里模型 stream 模式 & 使其支持联网搜索能力 by @moondie in #856
- chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #840
- fix: fix SearchUsers not working if using PostgreSQL by @ImSingee in #778
- fix: openai response should contains
model
by @Laisky in #841 - feat: able to change gemini safety setting by @tisfeng in #867
- fix: base 64 encoded format support of gemini-pro-vision for field im… by @liuzl in #878
- feat: add support for davinci-002 and babbage-002 by @Tailen in #888
- fix: fix button copywriting by @seven-yu in #880
- fix: support base64 encoded image_url for gemini-pro-vision by @Laisky in #872
- fix: fix token validation exception handling by @seven-yu in #901
- 一个现代化的web UI界面 by @MartialBE in #860
- fix: fix some issues with berry by @MartialBE in #913
- fix: fix bugs with theme berry by @MartialBE in #931
New Contributors
- @moondie made their first contribution in #856
- @Laisky made their first contribution in #841
- @tisfeng made their first contribution in #867
- @liuzl made their first contribution in #878
- @Tailen made their first contribution in #888
- @seven-yu made their first contribution in #880
Full Changelog: v0.5.10...v0.5.11
v0.5.10
What's Changed
- feat: Refactor response parsing logic to support multiple formats by @igophper in #782
- gpt-4 vision计费方案 by @WqyJh in #795
- feat: add Google Gemini Pro support by @cnbeining in #826
- feat: reset image num to 1 when not given by @ye4293 in #821
- feat: able to set sqlite busy_timeout by @Calcium-Ion in #818
- feat: update ali relay implementation by @lichengwu in #830
- fix: Azure 渠道调用DALLE模型报错n_not_within_range by @ShinChven in #775
New Contributors
- @WqyJh made their first contribution in #795
- @cnbeining made their first contribution in #826
- @ye4293 made their first contribution in #821
- @Calcium-Ion made their first contribution in #818
- @lichengwu made their first contribution in #830
Full Changelog: v0.5.9...v0.5.10
v0.5.9
What's Changed
- feat: 删除relay-text中的consumeQuota变量 by @igophper in #738
- feat: 发送邮件时添加 Message-ID by @ShinChven in #732
- 修复自建邮箱发送错误: INVALID HEADER Missing required header field: "Date" by @YOMIkio in #742
- feat: Support Azure OpenAI Whisper. by @techotaku in #720
- 兼容 Azure dall-e-3 模型 by @ShinChven in #754
- Fix "invalidPayload" error when request Azure dall-e-3 api without optional parameter by @simulacraliasing in #764
- 增加功能: 渠道 - 测试所有通道; 设置 - 运营设置 - 监控设置 - 成功时自动启用通道 by @YOMIkio in #771
New Contributors
- @ShinChven made their first contribution in #732
- @YOMIkio made their first contribution in #742
- @simulacraliasing made their first contribution in #764
Full Changelog: v0.5.8...v0.5.9