ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Feature Request]针对模型自定义请求模版

Open
#6,669 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

### 🥰 需求描述

默认temperature为0.5,但GPT5 Nano只支持1,使用默认设置直接请求会像这样报错:

```json
{
"error": {
"message": "Unsupported value: 'temperature' does not support 0.5 with this model. Only the default (1) value is supported. (request id: xxxxxxx)",
"type": "invalid_request_error",
"param": "temperature",
"code": "unsupported_value"
}
}
```

### 🧐 解决方案

现在已经有DEFAULT_INPUT_TEMPLATE了,希望支持自定义一组设置,例如
DEFAULT_GPT_5_MINI_INPUT_TEMPLATE
DEFAULT_GPT_5_NANO_INPUT_TEMPLATE

### 📝 补充信息

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