ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] DeepSeek related environment not work
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### π¦ Deployment Method
Docker
### π Version
v2.15.8
### π» Operating System
Other Linux
### π System Version
Alpine Linux 3.20
### π Browser
Chrome
### π Browser Version
131.0.6778.205
### π Bug Description
I deployed nextweb via Docker Compose. I want the service to work by default through the deepseek model without relying on any configuration in the front-end page. This is my original compose file.
```
version: "3"
services:
chatgpt-web:
image: yidadaa/chatgpt-next-web:latest
restart: always
ports:
- "127.0.0.1:3000:3000"
environment:
- CODE=xxxxxx
- CUSTOM_MODELS=-all,+deepseek-chat@DeepSeek
- DEFAULT_MODEL=deepseek-chat
- DEEPSEEK_URL=https://api.deepseek.com
- DEEPSEEK_API_KEY=sk-xxxx
```
But it didn't work. seeing the logs, nextweb still request the apis of openai instead of deepseek.
Then I update my compose file like this, adding **OPENAI_API_KEY** and **BASE_URL** configs, pretend to request custom openai url with specified model *deepseek-chat*, and it works well.
```
version: "3"
services:
chatgpt-web:
image: yidadaa/chatgpt-next-web:latest
restart: always
ports:
- "127.0.0.1:3000:3000"
environment:
- OPENAI_API_KEY=sk-xxxx
- BASE_URL=https://api.deepseek.com
- CODE=xxxxxx
- CUSTOM_MODELS=-all,+deepseek-chat@DeepSeek
- DEFAULT_MODEL=deepseek-chat
- DEEPSEEK_URL=https://api.deepseek.com
- DEEPSEEK_API_KEY=sk-xxxx
```
I think there is something wrong with **DEEPSEEK_URL** and **DEEPSEEK_API_KEY** config items, or my misconfig, plz let me know the truth, thank you!
### π· Recurrence Steps
_No response_
### π¦ Expected Behavior
_No response_
### π Additional Information
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.