NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] 无法使用阿里云百炼API

Open flyzstu opened this issue 1 year ago • 16 comments

📦 部署方式

官方安装包

📌 软件版本

v2.15.8

💻 系统环境

Windows

📌 系统版本

Windows 10

🌐 浏览器

Chrome, Edge

📌 浏览器版本

版本 133.0.3065.82 (正式版本) (64 位)

🐛 问题描述

Image 模型服务商选择alibaba,接口地址https://dashscope.aliyuncs.com/compatible-mode/,使用自定义模型名称deepseek-v3,聊天对话框选择deepseek-v3 Image 对话始终无法响应

Image

📷 复现步骤

复现步骤参考问题描述

🚦 期望结果

期望接口能正常运行

📝 补充信息

No response

flyzstu avatar Feb 25 '25 01:02 flyzstu

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Cannot use Alibaba Cloud Bailian API

📦 Deployment method

Official installation package

📌 Software version

v2.15.8

💻 System environment

Windows

📌 System version

Windows 10

🌐 Browser

Chrome, Edge

📌 Browser version

Version 133.0.3065.82 (official version) (64 bits)

🐛 Question description

Image The model service provider selects Alibaba, the interface address is https://dashscope.aliyuncs.com/compatible-mode/, use the custom model name deepseek-v3, and select deepseek-v3 in the chat dialog box. Image The conversation never responds

Image

📷 Reproduction steps

Reproduction steps refer to the problem description

🚦 Expected results

I hope the interface will work normally

📝 Supplementary information

No response

Issues-translate-bot avatar Feb 25 '25 01:02 Issues-translate-bot

mark一下,我也是无法调用百炼大模型的deepseek

jinxxx-cai avatar Feb 25 '25 06:02 jinxxx-cai

Bot detected the issue body's language is not English, translate it automatically.


Mark it, I can't call deepseek of the Bailian big model

Issues-translate-bot avatar Feb 25 '25 06:02 Issues-translate-bot

我试了一下,如果使用openai模型服务商就可以使用了

jinxxx-cai avatar Feb 25 '25 07:02 jinxxx-cai

Bot detected the issue body's language is not English, translate it automatically.


I tried it, if you use the openai model service provider, it will be available

Issues-translate-bot avatar Feb 25 '25 07:02 Issues-translate-bot

ALIBABA_API_KEY=sk-4be8819c7&&&&&&&&&&&&&19e73d84f
ALIBABA_URL=https://dashscope.aliyuncs.com/compatible-mode/ Available when using environments name above. Do not use QWEN_API_KEY

Yuwei9291 avatar Feb 25 '25 09:02 Yuwei9291

Bot detected the issue body's language is not English, translate it automatically.


Alibaba deepseek interface address uses https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation

Issues-translate-bot avatar Feb 26 '25 09:02 Issues-translate-bot

阿里巴巴 的 deepseek-r1 需要这么配置。 接口地址:不要填 自定义模型名:deepseek-r1@Alibaba

Image

Little-LittleProgrammer avatar Feb 26 '25 09:02 Little-LittleProgrammer

Bot detected the issue body's language is not English, translate it automatically.


Alibaba's deepseek-r1 needs to be configured like this. Interface address: Do not fill in Custom model name: deepseek-r1@Alibaba

Image

Issues-translate-bot avatar Feb 26 '25 09:02 Issues-translate-bot

阿里巴巴 的 deepseek-r1 需要这么配置。 接口地址:不要填 自定义模型名:deepseek-r1@Alibaba

Image

it' worked for me!

Qilong75 avatar Feb 27 '25 08:02 Qilong75

写在环境变量里怎么写?

mzwkkk avatar Feb 27 '25 14:02 mzwkkk

Bot detected the issue body's language is not English, translate it automatically.


How to write it in environment variables?

Issues-translate-bot avatar Feb 27 '25 14:02 Issues-translate-bot

ALIBABA_API_KEY=sk-4be8819c7&&&&&&&&&&&&&19e73d84f ALIBABA_URL=https://dashscope.aliyuncs.com/compatible-mode/ Available when using environments name above. Do not use QWEN_API_KEY

这样写也不能正常工作

mzwkkk avatar Feb 27 '25 14:02 mzwkkk

Bot detected the issue body's language is not English, translate it automatically.


ALIBABA_API_KEY=sk-4be8819c7&&&&&&&&&&&&&19e73d84f ALIBABA_URL=https://dashscope.aliyuncs.com/compatible-mode/ Available when using environments name above. Do not use QWEN_API_KEY

This will not work properly

Issues-translate-bot avatar Feb 27 '25 14:02 Issues-translate-bot

阿里巴巴 的 deepseek-r1 需要这么配置。 接口地址:不要填 自定义模型名:deepseek-r1@Alibaba

Image

这对我来说是可以正常工作的!感谢你的回复!

flyzstu avatar Feb 28 '25 02:02 flyzstu

Bot detected the issue body's language is not English, translate it automatically.


Alibaba's deepseek-r1 needs to be configured like this. Interface address: Do not fill in Custom model name: deepseek-r1@Alibaba

Image

This works fine for me! Thank you for your reply!

Issues-translate-bot avatar Feb 28 '25 02:02 Issues-translate-bot