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

message content can not be empty #799

Open xupeng19881010 opened 6 months ago

xupeng19881010 commented 6 months ago

百度和阿里报错relay error (channel #2): message content can not be empty (request id: 20231210215445329345027HfFyWRtJ)

|failed to get token encoder for model ERNIE-Bot-turbo: no encoding for model ERNIE-Bot-turbo, using encoder for gpt-3.5-turbo

songquanpeng commented 6 months ago

可以给一个完整的请求示例吗?