fruitbars / simple-one-api

OpenAI 接口接入适配,支持千帆大模型平台、讯飞星火大模型、腾讯混元以及MiniMax、Deep-Seek,等兼容OpenAI接口,仅单可执行文件,配置超级简单,一键部署,开箱即用. Seamlessly integrate with OpenAI and compatible APIs using a single executable for quick setup and deployment.
1.11k stars 97 forks source link

aliyun支持的第三方模型无法使用 #29

Open botoai opened 2 months ago

botoai commented 2 months ago

比如 baichuan-7b-v1 目前是限时免费的

{ "models": [ "qwen-long", "qwen-turbo", "qwen-plus", "qwen-max", "qwen-max-longcontext", "qwen2-1.5b-instruct", "qwen2-0.5b-instruct", "qwen1.5-1.8b-chat", "qwen1.5-0.5b-chat", "qwen-1.8b-chat", "baichuan-7b-v1", "chatglm3-6b", "yi-6b-chat", "yi-34b-chat", "aquilachat-7b", "deepseek-7b-chat", "internlm-7b-chat" ], "enabled": true, "credentials": { "api_key": "sk-xxxxxxxxxxxxx" }, "server_url": "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions" } 返回 {'error': 'error, status code: 404, message: Unsupported model baichuan-7b-v1 for OpenAI compatibility mode.'} Model: baichuan-7b-v1, 错误, MSG: error, status code: 404, message: Unsupported model baichuan-7b-v1 for OpenAI compatibility mode.

fruitbars commented 2 months ago

好吧,阿里兼容的openai接口只支持部分模型:https://help.aliyun.com/zh/dashscope/developer-reference/compatibility-of-openai-with-dashscope/?disableWebsiteRedirect=true

等后续版本兼容下。