ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Feature Request] 允许部分模型请求时不带"presence_penalty"&"frequency_penalty"

Open
#6,443 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 🥰 需求描述

有部分模型在调试时发现如果请求时带上这两个参数就会报错
```
{
"error": {
"message": " (request id: 202504122203163636081379182087)",
"type": "upstream_error",
"param": "400",
"code": "bad_response_status_code"
}
}
```
例如新出的grok-3-mini系列、google的部分大模型以及其它自定义API

### 🧐 解决方案

希望能够允许某些自定义模型请求时不携带这两项

### 📝 补充信息

_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.