ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 不能支持claude-opus-4.1

Open
#6,595 1 comment 2 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

### 📦 部署方式

Docker

### 📌 软件版本

2.16.1

### 💻 系统环境

Ubuntu

### 📌 系统版本

22.04 LTS

### 🌐 浏览器

Chrome

### 📌 浏览器版本

138.0.7204.184

### 🐛 问题描述

当在custom_models中添加claude-opus-4.1时,提示:
temperature and top_p cannot both be specified for this model. Please use only one.

### 📷 复现步骤

1、docker部署2.16.1版本的nextchat,并在custom_models中添加claude-opus-4.1(API已经支持,确认API设置没有错误)
2、终端浏览器访问时,选择claude-opus-4.1,出错:
{
"error": {
"message": "`temperature` and `top_p` cannot both be specified for this model. Please use only one. (request id: 1ac11787-0373-47da-98ec-759ea7c9a5da)",
"type": "invalid_request_error",
"param": "",
"code": null
},
"status_code": 400,
"LocalError": false
}

### 🚦 期望结果

_No response_

### 📝 补充信息

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