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

openai api无法使用 #119

Closed
jerryliang122 opened this issue Dec 22, 2023 · 4 comments
Closed

openai api无法使用 #119

jerryliang122 opened this issue Dec 22, 2023 · 4 comments

Comments

@jerryliang122
Copy link

尝试使用CURL 进行测试
"messages":[{"role":"user","content":"你好"}],
"stream":false,
"model":"Creative"
}' --compressed
{"choices":[{"delta":{"role":"assistant","content":""},"message":{"role":"assistant","content":""}}]}(
返回的结果是空的
如果是 流失输出 data: [DONE]
路径名是/api/v1/chat/completions

@SokWith
Copy link

SokWith commented Dec 22, 2023

#78 (comment)

@jerryliang122
Copy link
Author

#78 (comment)

应该不是这个问题。网页上可以正常使用的。没有任何问题。但是用AI 就不行了

@weaigc
Copy link
Owner

weaigc commented Dec 25, 2023

用api的话建议自己搭服务,演示站有防爬可能会误伤

@weaigc weaigc closed this as completed Dec 25, 2023
@jerryliang122
Copy link
Author

用api的话建议自己搭服务,演示站有防爬可能会误伤

就是用docker自己搭建的服务。里面写了bing header但是API 返回空的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants