songquanpeng / one-api

OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
https://openai.justsong.cn/
MIT License
16.06k stars 3.73k forks source link

腾讯的混元模型 API 接口更新了 #1452

Closed IAn2018cs closed 2 weeks ago

IAn2018cs commented 1 month ago

例行检查

功能描述 适配新的接口请求,相关文档:https://cloud.tencent.com/document/api/1729/105701

shown1985 commented 1 month ago

接口完全变了似乎

ethanzhao2001 commented 1 month ago

我也发现改了,想白嫖lite模型,希望尽快适配

tisfeng commented 4 weeks ago

有点坑,因为之前腾讯宣布 lite 模型免费了,所以我最近一直在使用 hunyuan-lite 模型。

直到今天看到【腾讯云】的扣费账单才发现,原来目前 one-api 的腾讯混元渠道不支持 hunyuan-lite 模型,导致我自己添加的自定义模型 hunyuan-lite 实际走的还是 hunyuan-pro 😑

没有仔细看代码实现,但我觉得这种设计不太妥,如果渠道不支持 hunyuan-lite 模型,应该直接报错提示,而不是偷偷改用别的模型,这样很可能会导致一些潜在问题。(希望不是腾讯 API 搞的鬼 😥)

image image