ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 百度千帆接入异常

Open
#6,281 3 comments 1 reaction 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

Docker

### 📌 Version

v2.15.8

### 💻 Operating System

Ubuntu, Windows

### 📌 System Version

Windows11

### 🌐 Browser

Chrome

### 📌 Browser Version

133.0.6943.127

### 🐛 Bug Description

在配置接入百度API时,百度已升级至V2,要求提供的是API Key,但目前nextchat强制要求提供Api key 和 secret key,如果只配置API key会报错
{
"error": true,
"message": "missing BAIDU_API_KEY or BAIDU_SECRET_KEY in server env vars"
}
但当切换为V1版本的Api key 和 secret key时,会返回空响应,仍旧无法调用,查看调用统计发现无调用记录。

### 📷 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.