ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 拉取了main分支最新的代码,在美西vps部署,采用的本地部署方式,deepseek提示不给我用

Open
#6,026 27 comments 0 reactions 1 assignee Claimed by @bestsanmao View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 📦 部署方式

Other

### 📌 软件版本

2.15.8

### 💻 系统环境

Other Linux

### 📌 系统版本

debian 11

### 🌐 浏览器

Chrome

### 📌 浏览器版本

131.0.6778.204

### 🐛 问题描述

在`.env` 文件内增加了
```
CUSTOM_MODELS=-all,+glm-4-plus@ChatGLM,+glm-4-air@ChatGLM,+glm-4-long@ChatGLM,+glm-4-flash@ChatGLM,+glm-4v-flash@ChatGLM,+codegeex-4@ChatGLM,+cogview-3-flash@ChatGLM,+cogvideox-flash@ChatGLM,+deepseek-chat@DeepSeek

DEFAULT_MODEL=glm-4-flash

# DEEPSEEK
DEEPSEEK_URL=https://api.deepseek.com
DEEPSEEK_API_KEY=sk-fbxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
返回错误:
```
{
"error": true,
"message": "you are not allowed to use deepseek-chat model"
}
```
这个报错到底是api接口的报错还是项目本身报的?看样子似乎是项目本身报错的,我应该如何解决这个问题呢?
另外我配置了`DEFAULT_MODEL`为`glm-4-flash`,但是打开总是默认不是它,而是`glm-4-plus`或者空的。

### 📷 复现步骤

_No response_

### 🚦 期望结果

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