[增加阿里云通义千问(qwen)的相关使用说明]
🥰 需求描述
看起来在最新(v2.13.0)版本的release中,已经加入了对于阿里云模型api的支持,但是我不确定正确的使用方法应该是什么,具体来说:
接口地址应该填入什么呢?(或保持默认?) 接口密钥是否是从阿里云百炼创建? 是否支持qwen-long?qwen-long支持很长的上下文,并能够解析上传的文档
🧐 解决方案
增加相关使用说明
📝 补充信息
No response
Please follow the issue template to update title and description of your issue.
Bot detected the issue body's language is not English, translate it automatically.
Title: [Add related instructions for Alibaba Cloud Tongyi Qianwen (qwen)]
🥰 Description of requirements
It seems that in the latest (v2.13.0) release, support for the Alibaba Cloud model API has been added, but I am not sure what the correct usage method is, specifically:
What should be filled in for the interface address? (or keep default?) Is the interface key created from Alibaba Cloud Bailian? Is qwen-long supported? qwen-long supports very long contexts and is able to parse uploaded documents
🧐 Solution
Add relevant instructions for use
📝 Supplementary information
No response
阿里渠道默认的接口地址是: ALIBABA_BASE_URL = "https://dashscope.aliyuncs.com/api/"
到密钥生成的地方看看是不是对应这个地址,如果是的话保持默认就行
Bot detected the issue body's language is not English, translate it automatically.
The default interface address of Ali channel is: ALIBABA_BASE_URL = "https://dashscope.aliyuncs.com/api/"
Go to the place where the key is generated to see if it corresponds to this address. If so, just keep the default.
阿里渠道默认的接口地址是:
ALIBABA_BASE_URL = "https://dashscope.aliyuncs.com/api/"到密钥生成的地方看看是不是对应这个地址,如果是的话保持默认就行
感谢您的回复,我尝试了您提到的地址以及阿里云百炼平台使用curl方法访问模型的地址https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation,并填入了阿里云百炼平台生成的key,选择了正确的模型,仍旧没有成功
Bot detected the issue body's language is not English, translate it automatically.
The default interface address of Ali channel is:
ALIBABA_BASE_URL = "https://dashscope.aliyuncs.com/api/"Go to the place where the key is generated to see if it corresponds to this address. If so, just keep the default.
Thanks for your reply, I tried the address you mentioned and the address where Alibaba Cloud Bailian platform uses curl method to access the model https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation, And filled in the key generated by Alibaba Cloud Bailian platform and selected the correct model, but still no success
我进一步尝试了官方文档中提到的OpenAI Chat接口兼容中的两个url,同样没有成功,错误信息同上。
如果是从阿里官方申请的,直接填写申请的密钥即可,无需填写 base url @qNwNp
Bot detected the issue body's language is not English, translate it automatically.
If you apply from Alibaba official website, you can directly fill in the application key without filling in the base url.
如果是从阿里官方申请的,直接填写申请的密钥即可,无需填写 base url @qNwNp
@LiuElric 您好,我按照您图中所写的,其不再像原来一样报错,但是其仍旧没有正常工作,它回复了一段HTML,展示效果如下图所示:
Bot detected the issue body's language is not English, translate it automatically.
If you apply from Alibaba official website, you can directly fill in the application key without filling in the base url @qNwNp
@LiuElric Hello, I followed what you wrote in the picture. It no longer reports the same error as before, but it still does not work normally. It replies with a piece of HTML, and the display effect is as shown in the figure below:
我是通过docker部署的,没有添加任何环境变量。在模型中选择通义大模型,然后自定义模型中选Alibaba,填上阿里云百炼申请的SK就可以了
Bot detected the issue body's language is not English, translate it automatically.
I deployed via docker without adding any environment variables. Select Tongyi Large Model in the model, then select Alibaba in the custom model, and fill in the SK applied for by Alibaba Cloud Bailian.
我是通过docker部署的,没有添加任何环境变量。在模型中选择通义大模型,然后自定义模型中选Alibaba,填上阿里云百炼申请的SK就可以了
@qNwNp
Bot detected the issue body's language is not English, translate it automatically.

I deployed via docker without adding any environment variables. Select Tongyi Large Model in the model, then select Alibaba in the custom model, and fill in the SK applied for by Alibaba Cloud Bailian.
@qNwNp
如果是从阿里官方申请的,直接填写申请的密钥即可,无需填写 base url @qNwNp
@LiuElric 您好,我按照您图中所写的,其不再像原来一样报错,但是其仍旧没有正常工作,它回复了一段HTML,展示效果如下图所示:
收到,你有在环境变量里面做什么操作吗?如果没有的话,可能需要检查一下 key 是否正确,我这边尝试直接填 key 是OK的
Bot detected the issue body's language is not English, translate it automatically.
If you apply from Alibaba official website, you can directly fill in the application key without filling in the base url @qNwNp
@LiuElric Hello, I followed what you wrote in the picture, and it no longer reports the same error as before, but it still does not work normally. It replies with a piece of HTML, and the display effect is as shown in the figure below: 
Received, have you done anything in the environment variables? If not, you may need to check whether the key is correct. I tried to fill in the key directly and it was OK.
我也出现了这个问题,我下载的mac 2.13的版本返回也是html内容
但是我把这个git项目clone到本地并且切到2.13的tag用npm run dev测试,同样的配置却能正确运行
看起来像是next项目没有找到正确的路径
我本地执行run app:dev时跟mac 2.13版本出现一样的错误,控制台打印就只有这部分
我最后看了下问题出在app打包的时候 next的output为"export",打出来的包情况不太一样,我对next和tauri不太熟,只能看到这儿了
我也出现了这个问题,我下载的mac 2.13的版本返回也是html内容
但是我把这个git项目clone到本地并且切到2.13的tag用npm run dev测试,同样的配置却能正确运行 看起来像是next项目没有找到正确的路径
我本地执行run app:dev时跟mac 2.13版本出现一样的错误,控制台打印就只有这部分
我最后看了下问题出在app打包的时候 next的output为"export",打出来的包情况不太一样,我对next和tauri不太熟,只能看到这儿了
@Dogtiti
Bot detected the issue body's language is not English, translate it automatically.
I also had this problem. The mac 2.13 version I downloaded also returned html content
But I cloned this git project locally and switched to the 2.13 tag to test it with npm run dev. The same configuration can Running correctly looks like the next project didn't find the correct path
When I execute run app:dev locally, the same error occurs as in the mac version 2.13. The console prints only this part
I last checked that the problem was when the app was packaged, the output of next was "export", and the package situation was different. I am not familiar with next and tauri, so I can only see here.
@Dogtiti
我也出现了这个问题,我下载的mac 2.13的版本返回也是html内容
但是我把这个git项目clone到本地并且切到2.13的tag用npm run dev测试,同样的配置却能正确运行 看起来像是next项目没有找到正确的路径
我本地执行run app:dev时跟mac 2.13版本出现一样的错误,控制台打印就只有这部分
我最后看了下问题出在app打包的时候 next的output为"export",打出来的包情况不太一样,我对next和tauri不太熟,只能看到这儿了
我的也是Mac客户端,2.13.1版本,完全相同的报错。
Bot detected the issue body's language is not English, translate it automatically.
I also had this problem. The mac 2.13 version I downloaded also returned html content <img alt="image" width="676" src="https://private-user-images.githubusercontent.com/6702568/ But I cloned this git project locally and switched to the 2.13 tag to test it with npm run dev. The same configuration works Running correctly looks like the next project didn't find the correct path
When I execute run app:dev locally, the same error occurs as in the mac version 2.13. The console prints only this part
I last checked that the problem was when the app was packaged, the output of next was "export", and the package situation was different. I am not familiar with next and tauri, so I can only see here.
Mine is also a Mac client, version 2.13.1, with exactly the same error.
后端报错了,提示 dynamic = "error" 但是使用了 searchParams
我添加上 export const dynamic = 'force-dynamic';就好使了
Bot detected the issue body's language is not English, translate it automatically.
The backend reported an error, prompting dynamic = "error" but using searchParams
I added export const dynamic = 'force-dynamic'; just works
proxy.t
🥰 需求描述
看起来在最新(v2.13.0)版本的release中,已经加入了对于阿里云模型api的支持,但是我不确定正确的使用方法应该是什么,具体来说:
接口地址应该填入什么呢?(或保持默认?) 接口密钥是否是从阿里云百炼创建? 是否支持qwen-long?qwen-long支持很长的上下文,并能够解析上传的文档
🧐 解决方案
增加相关使用说明
📝 补充信息
No response
🥰 需求描述
看起来在最新(v2.13.0)版本的release中,已经加入了对于阿里云模型api的支持,但是我不确定正确的使用方法应该是什么,具体来说:
接口地址应该填入什么呢?(或保持默认?) 接口密钥是否是从阿里云百炼创建? 是否支持qwen-long?qwen-long支持很长的上下文,并能够解析上传的文档
🧐 解决方案
增加相关使用说明
📝 补充信息
No response
docker stop chatgpt-next-web
docker rm chatgpt-next-web
docker run -d -p 3001:3000
--name chatgpt-next-web
-e BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/
yidadaa/chatgpt-next-web
然后配置
Bot detected the issue body's language is not English, translate it automatically.
🥰 Requirement Description
It seems that in the latest (v2.13.0) release, support for Alibaba Cloud model API has been added, but I am not sure what the correct way to use it should be, specifically:
What should be filled in the interface address? (Or keep the default?) Is the interface key created from Aliyun Bailian? Is qwen-long supported? qwen-long supports very long contexts and is able to parse uploaded documents
🧐 Solution
Add relevant instructions
📝 Supplementary information
No response
🥰 Requirement Description
It seems that in the latest (v2.13.0) release, support for Alibaba Cloud model API has been added, but I am not sure what the correct way to use it should be, specifically:
What should be filled in the interface address? (Or keep the default?) Is the interface key created from Aliyun Bailian? Is qwen-long supported? qwen-long supports very long contexts and is able to parse uploaded documents
🧐 Solution
Add relevant instructions
📝 Supplementary information
No response
docker stop chatgpt-next-web
docker rm chatgpt-next-web
docker run -d -p 3001:3000
--name chatgpt-next-web
-e BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/
yidadaa/chatgpt-next-web
Then configure


但是我把这个git项目clone到本地并且切到2.13的tag用npm run dev测试,同样的配置却能正确运行 看起来像是next项目没有找到正确的路径
But I cloned this git project locally and switched to the 2.13 tag to test it with npm run dev. The same configuration can Running correctly looks like the next project didn't find the correct path
但是我把这个git项目clone到本地并且切到2.13的tag用npm run dev测试,同样的配置却能正确运行 看起来像是next项目没有找到正确的路径
