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

在Zeabur部署后发起对话时出现“请求处理时发生错误: Error: OpenAI API 请求失败” #36

Open
18502074216 opened this issue Jul 12, 2024 · 1 comment

Comments

@18502074216
Copy link

使用不同的代理地址或者默认的openai api都会出现这一情况:

请求处理时发生错误: Error: OpenAI API 请求失败

at handleRequest (/src/api/search2ai.js:107:15)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async module.exports (/src/api/index.js:87:24)

at async /src/api/index.js:145:13

Sending response as a string or Buffer

image
以下是我配置的环境变量
image

请问该如何解决?

@fatwang2
Copy link
Owner

fatwang2 commented Aug 6, 2024

你现在发的截图应该是一个代理网站,且用的是moonshot,moonshot格式不完全一样,项目里有个单独的代码文件

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

2 participants