Releases: MartialBE/one-hub
Releases · MartialBE/one-hub
v0.7.2
变更日志
新增功能
- 新增
Midjourney proxy
中转支持 - 新增用户可用模型页面
优化
- 后台内容页面宽度增加以显示更多内容
- 分析图表改为两排并列
- 渠道页面增加渠道总使用金额列
修复
- tg跳转url限制
- 升级axios
Details
- ✨ feat: add Midjourney (#138) @MartialBE
- build(deps): bump axios from 0.27.2 to 0.28.0 in /web (#137) @dependabot
v0.7.1
变更日志
新增功能
- 新增
dark
模式主题
优化
- 禁止用户删除账户,用户删除使用软删除
- 日志显示模型的输出速度
- 首页导航栏优化
修复
- 修复新建
渠道
页面初始化的问题 - 导出价格旧数据接口增加权限验证
- 价格同步ui逻辑问题
- 修复
模型价格
中,当模型名称含义特殊字符时,更新/删除失败 - 第一次运行时,必定同步模型价格
- 当用户没有可用模型时,控制台报错
- 修复一些UI问题
- 修复第三方OpenAI接口,未返回Usage时,导致的报错
Details
- ✨ feat: add dark mod (#134) @MartialBE
v0.7.0
变更日志
⚠️ 破坏性更新
本次重构不会同步之前设置的模型价格,如果你设置了模型价格,需要迁移数据,见 #128
新增功能
- 支持使用配置文件, 详情见#117 (#117)
- 更新了
gemini
新模型。 - 更新了
makefile
,现在可以直接通过make
进行编译。 - 支持远程同步模型价格。(意味着,在没有新供应商更新时,你可以不用更新程序,即可同步模型价格)
- 允许在
渠道模型
和模型价格
中使用通配符* - 支持按次收费
- 新增环境变量
AUTO_PRICE_UPDATES
,是否自动同步更新模型,默认是true,开启后每次启动程序时,会检测数据库中的数据和程序中默认模型价格,如果数据库中的模型价格有缺失将会自动同步到数据库中。 开启带来的问题:你删不掉程序默认的模型价格,删除后,重启又回来了,这个选项适合跟官网一致价格的用户使用。
优化
- 默认将渠道加载到内存中,
MEMORY_CACHE_ENABLED
不再控制是否加载渠道。 (#117) - 渠道添加官网跳转按钮。
- 渠道添加测试模型按钮,可以通过它直接测试渠道支持的模型。 只支持
chat
模型。 - 支持显示消费为0的日志。
- 恢复了渠道列表中的
权重
/优先级
逻辑,即:修改后失去焦点自动保存。 - 删除了
google
字体
修复
- 修复
gemini
不能正确返回错误信息
Details
- ♻️ refactor: Refactor price module (#128) @MartialBE
- ✨ feat: support configuration file (#117) @MartialBE
v0.6.4
v0.6.3
变更日志
新增功能
优化
Azure Speech
支持通过插件自定义映射声音 (#104)百度文心
,混元
,星火
支持使用messages.role.system
(#95)Anthropic
支持Cloudflare AI Gateway
(#95)- 新增
ARM64
镜像
修复
Details
- ✨ feat: support amazon bedrock anthropic (#114) @MartialBE
- ✨ feat: support Groq (#107) @MartialBE
- ✨ feat: Azure Speech allows for custom voices. (#104) @MartialBE
- 🐛 fix: hunyuan request failed (#102) @MartialBE
- 🐛 fix: hunyuan model name change (#100) @MartialBE
- ✨ feat: complete some issues (#98) @MartialBE
- 🐛 fix: missing toolcalls parameter in stream response (#95) @MartialBE
- ✨ feat: support mistral (#94) @MartialBE
v0.6.2
变更日志
新增功能
优化
修复
⚠️ ⚠️ 警告
本次更新移除了以下已淘汰的模型:claude-instant-1
、claude-2
、 chatglm_turbo
、 chatglm_std
、 chatglm_lite
、chatglm_pro
,以后添加新渠道时,将不再默认填充这些模型。
移除了Qwen
通过在模型名称后面添加-internet
启用联网的逻辑,请直接使用插件功能进行配置。
Details
- ✨ feat: channel support plugin settings (#89) @MartialBE
- Claude改用messages API,支持Claude3 (#86) @moondie
- ✨ feat: channel support weight (#85) @MartialBE
- 🐛 fix: glm-4v support base64 image (#81) @MartialBE
- 🐛 fix: fix some issues (#77) @MartialBE
v0.6.1
变更日志
⚠️ 紧急修复
- 模型费用计算错误
优化
修复
Details
- 🐛 fix: tg apikey command missing sk prefix (#76) @MartialBE
- 优化功能 (#75) @MartialBE
- 🐛 fix: Model cost calculation error (#74) @MartialBE
v0.6.0
变更日志
⚠️ ⚠️ 更新警告
因完成倍率
,修改了设置倍率的存储结构。如果你有更改倍率
,将会自动更新到新结构。 退回版本将会导致错误。
新增功能
修复
Details
- ✨ feat: add telegram bot (#71) @MartialBE
- 🐛 fix some bugs (#70) @MartialBE
- 🐛 fix: missing model gpt-4-turbo-preview (#69) @MartialBE
- ✨ feat: support editing completion rate (#68) @MartialBE
- ✨ feat: support azure openai tts (#65) @MartialBE
v0.5.14
v0.5.13
变更日志
新增功能
改进
修复
说明
由于 注册时间之前未记录,可以执行以下SQL将用户第一次产生日志的时间作为注册时间。 注意日志量庞大时,请谨慎操作。
UPDATE users
SET created_time = (
SELECT MIN(created_at)
FROM logs
WHERE logs.user_id = users.id
);
Details
- ✨ feat: support deepseek (#60) @MartialBE
- ✨ feat: add admin statistics (#59) @MartialBE
- 🎨 improve: zhipu stream typewriter (#58) @MartialBE
- 📝 doc: modify information (#57) @MartialBE
- 🐛 fix: admin custom channel id failed (#56) @MartialBE
- ✨ feat: update openai new model (#54) @MartialBE
- 🐛 fix: stream mode delay issue (#53) @MartialBE
- ✨ feat: MiniMax support (#50) @MartialBE
- 🐛 fix: proxy bug (#49) @MartialBE
- 🐛 fix: balance fail (#47) @MartialBE