ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] in the mask review detail page ,model not show correctly.
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### 📦 部署方式
Other
### 📌 软件版本
最新分支本地部署
### 💻 系统环境
Windows
### 📌 系统版本
win 11
### 🌐 浏览器
Chrome
### 📌 浏览器版本
Version 131.0.6778.205 (Official Build) (64-bit)
### 🐛 问题描述
我app/store/config.ts 修改了modelConfig:model : "gpt-4o" as ModelType, 并且在masks/en.ts 下修改所有的mask 的modelConfig为gpt-4o, 但是当我点击mask 里面的views 的时候,发现里面的model 仍然是默认的'gpt-3.5-turbo",看了下model-config.tsx 里面取值确实是gpt-4o,但是providerName 识别为undefine.
### 📷 复现步骤
修改app/store/config.ts 修改了modelConfig:model : "gpt-4o" as ModelType,model-config.tsx控制台输出
const value = `${props.modelConfig.model}@${props.modelConfig?.providerName}`; 的value 值,发现确实变了,但是显示值不对
### 🚦 期望结果
应该和mask 设置的 值匹配上。
### 📝 补充信息




Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading app/store/config.ts, masks/en.ts, and the model-config.tsx component, then reproduce the mask review detail page with the reported model settings. Trace how the model and providerName are read for the view. Done means the detail page displays the model configured by the mask instead of the default value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100