Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] DeepSeek related environment not work #6048

Open
hustlibraco opened this issue Jan 6, 2025 · 3 comments
Open

[Bug] DeepSeek related environment not work #6048

hustlibraco opened this issue Jan 6, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@hustlibraco
Copy link

📦 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

@hustlibraco hustlibraco added the bug Something isn't working label Jan 6, 2025
@crhope
Copy link

crhope commented Jan 7, 2025

The docker image is still two months old, it should not have been updated to support deepseek yet

@bestsanmao
Copy link
Contributor

代码的新commit里增加了deepseek支持了
但是release版 和 docker版还没同步更新(貌似最后更新还是俩月前)
希望 @lloydzhou @Dogtiti 大佬们 早日更新

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Deepseek support has been added to the new commit of the code
However, the release version and the docker version have not been updated simultaneously (it seems that the last update was two months ago)
Hope @lloydzhou @Dogtiti bosses will update soon

@hustlibraco hustlibraco changed the title [Bug] DeekSeek related environment not work [Bug] DeepSeek related environment not work Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants