Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
botoai opened this issue Jun 27, 2024 · 2 comments
Open

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

botoai opened this issue Jun 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@botoai
Copy link

botoai commented Jun 27, 2024

比如 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
Copy link
Owner

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

等后续版本兼容下。

@fruitbars fruitbars added the bug Something isn't working label Jun 28, 2024
@fruitbars
Copy link
Owner

阿里云的dashscope从v0.9.5版本已经支持了,https://github.com/fruitbars/simple-one-api/releases/tag/v0.9.5

@fruitbars fruitbars added enhancement New feature or request and removed bug Something isn't working labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants