ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] 添加自定义模型信息后报错 Uncaught (in promise) Error: Model chatglm3-6b not found in DEFAULT_MODELS array.
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Bug Description
Uncaught (in promise) Error: Model chatglm3-6b not found in DEFAULT_MODELS array.
### Steps to Reproduce
1、设置自定义模型 chatglm3-6b
2、发送消息,显示无信息发送,日志显示报错
Uncaught (in promise) Error: Model chatglm3-6b not found in DEFAULT_MODELS array.
### Expected Behavior
支持自定义模型选择可以推理
### Screenshots
_No response_
### Deployment Method
- [ ] Docker
- [ ] Vercel
- [ ] Server
### Desktop OS
_No response_
### Desktop Browser
_No response_
### Desktop Browser Version
_No response_
### Smartphone Device
_No response_
### Smartphone OS
_No response_
### Smartphone Browser
_No response_
### Smartphone Browser Version
_No response_
### Additional Logs
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the TypeScript codebase for the DEFAULT_MODELS array and trace the model-selection path used when sending a message. Reproduce the issue with the custom model chatglm3-6b, then verify that selecting it no longer raises the reported error and that a message can be sent for inference.
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
- 45/100