Skip to content

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

@18502074216

Description

@18502074216

使用不同的代理地址或者默认的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

请问该如何解决?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions