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

[Bug] 无法使用豆包大模型 #5069

Open
TCOTC opened this issue Jul 20, 2024 · 12 comments
Open

[Bug] 无法使用豆包大模型 #5069

TCOTC opened this issue Jul 20, 2024 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@TCOTC
Copy link

TCOTC commented Jul 20, 2024

📦 部署方式

官方安装包

📌 软件版本

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

📷 复现步骤

桌面端不知道哪里有开发者工具,拿网页演示一下:

default.mp4

🚦 期望结果

正常请求正常使用

📝 补充信息

No response

@TCOTC TCOTC added the bug Something isn't working label Jul 20, 2024
@Issues-translate-bot
Copy link

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


Title: [Bug] Unable to use bean bag large model

@lloydzhou
Copy link
Contributor

lloydzhou commented Jul 21, 2024

使用自定义接口的时候,接口地址填写:
https://ark.cn-beijing.volces.com

始终请求 https://ark.cn-beijing.volces.com/api/v1/chat/completions ,没有 v3
说明模型被当成了OpenAI的接口使用。

豆包的使用需要配合CUSTOM_MODELS一起(配置部署名称)使用

@lloydzhou lloydzhou reopened this Jul 21, 2024
@TCOTC
Copy link
Author

TCOTC commented Jul 21, 2024

填写 https://ark.cn-beijing.volces.com/ 之后请求的地址还是会加上 v1/chat/completions

image

豆包的使用需要配合CUSTOM_MODELS一起(配置部署名称)使用

这是指什么?不是接入点名称吗?

@lloydzhou
Copy link
Contributor

README中有相关说明

image

@TCOTC
Copy link
Author

TCOTC commented Jul 21, 2024

我这里还是不成功,不知道我哪里还有问题

image

image

@Issues-translate-bot
Copy link

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.

image

image

@lloydzhou lloydzhou self-assigned this Jul 25, 2024
@ylacmilan
Copy link

跟我一样 不知道咋回事

@Issues-translate-bot
Copy link

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


Just like me, I don’t know what’s going on

@Crazykev
Copy link

image
对话框跟我情况一样,像是逻辑有bug,抓了下包,刚开始会通过OPTIONS去访问https://ark.cn-beijing.volces.com/api/v3/chat/completions,但是没有带任何auth key,报了401.
而且这个行为也很奇怪,本地试了下及时带了key,也会报404。交互协议对不上

@lloydzhou
Copy link
Contributor

@Crazykev OPTIONS请求是HTTP协议里面在跨域的时候的标准做法。先通过OPTIONS接口检查是否支持跨域。检查通过之后再发送POST请求。

@Issues-translate-bot
Copy link

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.

@woxiangshuo
Copy link

{
"error": true,
"message": "you are not allowed to use Doubao-vision-pro-32k model"
}
这咋回事啊?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants
@lloydzhou @ylacmilan @Crazykev @woxiangshuo @Issues-translate-bot @TCOTC and others