ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] Azure invalid_request_error

Open
#6,017 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 📦 Deployment Method

Vercel, Docker

### 📌 Version

2.15.8

### 💻 Operating System

Windows, Ubuntu

### 📌 System Version

Win 11

### 🌐 Browser

Chrome

### 📌 Browser Version

Google Chrome

### 🐛 Bug Description

我按照README设置选择自定义接口,模型服务商Azure,接口地址:https://baairl-souceus.openai.azure.com/,接口密钥:05b46cc6********************9a24,接口版本:2024-05-01-preview,自定义模型名:-all,+gpt-4o@Azure,+gpt-4o-mini@Azure,模型选择gpt-4o

开始对话遇到了bug:

{
"error": {
"message": "Incorrect API key provided: 05b46cc6********************9a24. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_api_key"
}
}
不论是windows本地还是vercel都遇到了这个问题。是我的设置有误吗

### 📷 Recurrence Steps

_No response_

### 🚦 Expected Behavior

_No response_

### 📝 Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.