NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Feature Request]腾讯云的deepseek R1,没有think过程的问题

Open takidla opened this issue 10 months ago • 13 comments

🥰 Feature Description

我部署的是docker镜像,目前最新的v2.15.8,用的是腾讯云提供的deepseek大模型R1,在使用时,我发现nextweb上不会显示think过程,而我直接调用腾讯云的api接口是有的。请问是目前版本还没针对腾讯云的deepseek做出think功能,还是我配置有问题呢?另外,我看到github上的图是有think功能的。

🧐 Proposed Solution

解决调用腾讯云的deepseek R1,没有think过程的问题

📝 Additional Information

No response

takidla avatar Feb 10 '25 07:02 takidla

请问腾讯接口怎么设置的啊

crhywun avatar Feb 10 '25 11:02 crhywun

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


How to set up the Tencent interface?

Issues-translate-bot avatar Feb 10 '25 11:02 Issues-translate-bot

请问腾讯接口怎么设置的啊

zhaungmuwkeng avatar Feb 11 '25 03:02 zhaungmuwkeng

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


How to set up the Tencent interface?

Issues-translate-bot avatar Feb 11 '25 03:02 Issues-translate-bot

关于上面问到腾讯接口怎么设置的,我的docker compose设置如下: version: '3.3' services: chatgpt-next-web-latest: ports: - 3002:3002 environment: - OPENAI_API_KEY=sk-123 - BASE_URL=https://api.lkeap.cloud.tencent.com/ - CODE=123 # 填一个密码,不然你的额度很快就会被刷完 - CUSTOM_MODELS=-all,+deepseek-v3,+deepseek-r1 - HOSTNAME=0.0.0.0 image: yidadaa/chatgpt-next-web:latest network_mode: host @crhywun @zhaungmuwkeng

takidla avatar Feb 11 '25 06:02 takidla

打开控制台我发现思维链的内容存在websocket里面的ReasoningContent里面,应该修改一下代码就可以

iAoe444 avatar Feb 11 '25 07:02 iAoe444

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


Open the console and I found that the content of the thinking chain is in the ReasoningContent in the websocket. You should modify the code.

Issues-translate-bot avatar Feb 11 '25 07:02 Issues-translate-bot

同样的问题,用阿里百炼deepseek是有的,但是需要用网友上传的Nightly版本镜像,因为官方镜像已经很久没有更新了。

version: '3'

services:
  nextchat:
    image: rocky9/nextchat-nightly:latest
    container_name: nextchat
    restart: always
    ports:
      - "3000:3000"
    environment:
      - DEEPSEEK_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
      - DEEPSEEK_API_KEY=sk-xxx
      - CODE=xxx
      - CUSTOM_MODELS=+deepseek-r1@DeepSeek
      - DEFAULT_MODEL=deepseek-r1@DeepSeek

theores avatar Feb 12 '25 01:02 theores

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


For the same problem, there is a deepseek application using Alibaba Bailian deepseek, but it needs to be mirrored using the Nightly version uploaded by netizens, because the official image has not been updated for a long time.

version: '3'

services:
  nextchat:
    image: rocky9/nextchat-nightly:latest
    container_name: nextchat
    restart: always
    Ports:
      - "3000:3000"
    environment:
      - DEEPSEEK_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
      - DEEPSEEK_API_KEY=sk-xxx
      - CODE=xxx
      - CUSTOM_MODELS=+deepseek-r1@DeepSeek
      - DEFAULT_MODEL=deepseek-r1@DeepSeek

Issues-translate-bot avatar Feb 12 '25 01:02 Issues-translate-bot

同样的问题

ch3nBo avatar Feb 17 '25 09:02 ch3nBo

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


Same problem

Issues-translate-bot avatar Feb 17 '25 09:02 Issues-translate-bot

我就想直接答案不需要think过程,要怎么设置呢?

EricTLO avatar Apr 05 '25 17:04 EricTLO

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


I just want to directly answer the answer does not require a think process, how to set it up?

Issues-translate-bot avatar Apr 05 '25 17:04 Issues-translate-bot