Skip to content

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

Description

@ozil56

📦 部署方式

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions