Laisky.Cai
Laisky.Cai
## 变更 https://api-docs.deepseek.com/quick_start/pricing 修改 deepseek-chat 的价格
## 问题 channel test 存在很多假阴性问题,即实际上测试失败了,但是页面显示成功。 ## 原因 `controller/channel-test.go` 这个文件里,是在 defer 中通过判定 err 是否为空来判断是否失败的,但是代码中很多失败条件下的 err 实际上被覆盖了,导致 defer 中的 err 始终为空,从而导致假阴性。 ## 修复 不要使用 `err :=` 来避免覆盖 err。 ## 其他修复:test prompt 原来的这个...
## 问题 o1 系列模型不支持 system prompt 和 max_tokens
## 功能 增加 o3-mini 和 gpt-4o-mini-audio 模型和倍率
## 功能 close #2022 支持 gpt-4o-audio 系列的 chat completetions 暂时没搞懂 stream 的计费模式,所以只支持了 `stream==false` 合并前可以使用 https://github.com/Laisky/one-api 来体验这个功能。 ## 依赖 本提交也包含了 https://github.com/songquanpeng/one-api/pull/2022 ## 自测  
## 功能说明 前端以统一的 OpenAI Image Edits 接口,后端同时支持 OpenAI dall-e-2 和 replicate 的 flux remix。 ## 前提 该 PR 依赖于以前的两个 PR(本次提交中包含了这两个历史 PR) * https://github.com/songquanpeng/one-api/pull/1954 * https://github.com/songquanpeng/one-api/pull/1369 ## 自测 ![CleanShot 2024-12-16 at...