ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Feature Request] 希望对openai规范的api请求,如果返回了reasoning_content ,也显示think标签

Open
#6,200 5 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 🥰 需求描述

现在大部分人用的是火山,华为云,阿里云,tx云等第三方的deepseek-r1模型.
(硅基是自己对reasoning_content做了处理拼接到content中)
如果使用deepseek-reasoner规范,会请求deepseek官方的的api,然后报错: Authentication Fails (no such user)
如果使用openai规范, 则不会显示reasoning_content 的内容.

有什么办法通过openai规范使用第三方deepseek-r1模型,可以显示reasoning_content的内容?

### 🧐 解决方案

根据reasoning_content字段判定是否显示think内容.

### 📝 补充信息

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.