ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Feature Request] Support streamWithThink for other models

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

Description

### 🥰 Feature Description

Currently, only the `deepseek-reasoner` model supports `streamWithThink`. However, when we use a third-party DeepSeek API through the OpenAI interface, `streamWithThink` is disabled.

![Image](https://github.com/user-attachments/assets/9f605bae-7ae2-4225-bcdb-14932b45a2ad)

![Image](https://github.com/user-attachments/assets/4f811823-c35f-4055-a0ce-902f992f6cb8)

### 🧐 Proposed Solution

I have a naive idea but I'm not sure if it‘ll work: detect `` in stream for all models and turn on "think" mode automatically.

### 📝 Additional Information

_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.