Open TCOTC opened 2 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] Unable to use bean bag large model
使用自定义接口的时候,接口地址填写: https://ark.cn-beijing.volces.com
始终请求 https://ark.cn-beijing.volces.com/api/v1/chat/completions ,没有 v3 说明模型被当成了OpenAI的接口使用。
豆包的使用需要配合CUSTOM_MODELS一起(配置部署名称)使用
填写 https://ark.cn-beijing.volces.com/ 之后请求的地址还是会加上 v1/chat/completions
豆包的使用需要配合CUSTOM_MODELS一起(配置部署名称)使用
这是指什么?不是接入点名称吗?
README中有相关说明
我这里还是不成功,不知道我哪里还有问题
Bot detected the issue body's language is not English, translate it automatically.
I'm still not successful here. I don't know where else I have the problem.
跟我一样 不知道咋回事
Bot detected the issue body's language is not English, translate it automatically.
Just like me, I don’t know what’s going on
对话框跟我情况一样,像是逻辑有bug,抓了下包,刚开始会通过OPTIONS去访问https://ark.cn-beijing.volces.com/api/v3/chat/completions,但是没有带任何auth key,报了401. 而且这个行为也很奇怪,本地试了下及时带了key,也会报404。交互协议对不上
@Crazykev OPTIONS请求是HTTP协议里面在跨域的时候的标准做法。先通过OPTIONS接口检查是否支持跨域。检查通过之后再发送POST请求。
Bot detected the issue body's language is not English, translate it automatically.
@Crazykev OPTIONS request is a standard practice in the HTTP protocol when making cross-domain requests. First check whether cross-domain is supported through the OPTIONS interface. Send the POST request after the check passes.
📦 部署方式
官方安装包
📌 软件版本
v2.13.1
💻 系统环境
Windows
📌 系统版本
22H2
🌐 浏览器
Chrome
📌 浏览器版本
126.0.6478.128
🐛 问题描述
豆包的接口地址是 https://ark.cn-beijing.volces.com/api/v3 ,但填写了没用,始终请求 https://ark.cn-beijing.volces.com/api/v1/chat/completions ,没有 v3
📷 复现步骤
桌面端不知道哪里有开发者工具,拿网页演示一下:
https://github.com/user-attachments/assets/edae0d06-3daa-4261-828b-7dfd42468d85
🚦 期望结果
正常请求正常使用
📝 补充信息
No response