ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] `CUSTOM_MODELS`可选项配置`-all,+xxx`后导致自定义模型无法使用

Open
#5,277 1 comment 0 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

### 📦 部署方式

Vercel

### 📌 软件版本

v2.14.1

### 💻 系统环境

Windows

### 📌 系统版本

Windows 10 专业版22H2 19045.4717

### 🌐 浏览器

Edge

### 📌 浏览器版本

127.0.2651.98 (正式版)(64位)

### 🐛 问题描述

## 问题描述:
在`CUSTOM_MODELS`可选项配置`-all,+xxx`后导致自定义模型无法使用
![image](https://github.com/user-attachments/assets/d77010ca-3fab-4def-ae3d-82364383c921)

![image](https://github.com/user-attachments/assets/00a262e0-f577-4d52-abe6-979ebe14fe64)
官网测试添加是ok的
![image](https://github.com/user-attachments/assets/d680a7e9-4060-47b2-93c9-3347e4935171)

### 📷 复现步骤

1.在部署项目时将`CUSTOM_MODELS`的值改为:`-all,+xxx`
2.在项目预览界面使用自定义模型功能

### 🚦 期望结果

期望在`CUSTOM_MODELS`的值改为:`-all,+xxx`时,自定义模型任然可以使用

### 📝 补充信息

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.