When using MiniMax M2 model in OpenAI provider, the thinking block cannot distinguish between thinking content and body text.

### 📱 Client Type

Web (Desktop Browser)

### 💻 Operating System

Windows

### 📦 Deployment Platform

Self hosting Docker

### 🔧 Deployment Mode

server db (lobe-chat-database image)

### 📌 Version

1.141.10

### 🌐 Browser

Edge

### 🐛 Bug Description

**When using the MiniMax M2 model in the OpenAI provider, both the body text and thinking content are displayed together in the thinking block. The image shows the display effect:**

<img width="1524" height="483" alt="Image" src="https://github.com/user-attachments/assets/29f804b3-6fcb-4c53-a685-bf819ee429f7" />

---

**Below is the original text:**

<img width="918" height="441" alt="Image" src="https://github.com/user-attachments/assets/e35123b1-4216-4fcf-b998-0c804370d14f" />

<img width="915" height="438" alt="Image" src="https://github.com/user-attachments/assets/ba9950ea-489f-4480-a94e-ba4283a40c96" />

---

**However, when I manually paste the original text to add an assistant message, it can distinguish them correctly.**

<img width="1521" height="338" alt="Image" src="https://github.com/user-attachments/assets/92b149fb-ba86-4cf3-8a1d-ae3b29397199" />

### 📷 Recurrence Steps

1. Modify environment variables to add the MiniMax M2 model in the OpenAI provider.
2. Ask any question using the MiniMax M2 model.
3. Observe the display effect of the assistant message.

### 🚦 Expected Behavior

The thinking block should correctly distinguish between thinking content and body text.

### 📝 Additional Information

I have not tried using this model in the MiniMax provider, so I don't know if the display effect is normal in the MiniMax provider.

### 🛠️ Willing to Submit a PR?

No, but I am happy to help test the fix

### ✅ Validations

- [x] Read the [docs](https://lobehub.com/zh/docs).
- [x] Check that there isn't [already an issue](https://github.com/lobehub/lobe-chat/issues) that reports the same bug to avoid creating a duplicate.
- [ ] Make sure this is a LobeChat issue and not a third-party library or provider issue.
- [x] Check that this is a concrete bug. For Q&A, please use [GitHub Discussions](https://github.com/lobehub/lobe-chat/discussions) or join our [Discord Server](https://discord.gg/rGHwKq4R).

---
> This issue was translated by Claude.

<details>
<summary>Original Content</summary>

### 📱 Client Type

Web (Desktop Browser)

### 💻 Operating System

Windows

### 📦 Deployment Platform

Self hosting Docker

### 🔧 Deployment Mode

server db (lobe-chat-database image)

### 📌 Version

1.141.10

### 🌐 Browser

Edge

### 🐛 Bug Description

**当在OpenAI 提供商中使用MiniMax M2模型时，正文和思考内容同时显示在思考块中。图中是显示效果**

<img width="1524" height="483" alt="Image" src="https://github.com/user-attachments/assets/29f804b3-6fcb-4c53-a685-bf819ee429f7" />

---

**以下是原文**

<img width="918" height="441" alt="Image" src="https://github.com/user-attachments/assets/e35123b1-4216-4fcf-b998-0c804370d14f" />

<img width="915" height="438" alt="Image" src="https://github.com/user-attachments/assets/07ec3856-4470-41b8-a3c6-9891645cdd1c" />

---

**而当我将原文粘贴手动添加assistant消息时，能够正常区分。**

<img width="1521" height="338" alt="Image" src="https://github.com/user-attachments/assets/92b149fb-ba86-4cf3-8a1d-ae3b29397199" />

### 📷 Recurrence Steps

1. 修改环境变量,在OpenAI提供商中添加MiniMax M2模型。
2. 使用MiniMax M2模型提问任意问题。
3. 观察assistant消息的显示效果。

### 🚦 Expected Behavior

思考块对于思考内容和正文能正常区分。

### 📝 Additional Information


我未尝试在MiniMax提供商中使用该模型提问,不知在MiniMax提供商中显示效果是否正常。

### 🛠️ Willing to Submit a PR?

No, but I am happy to help test the fix

### ✅ Validations

- [x] Read the [docs](https://lobehub.com/zh/docs).
- [x] Check that there isn't [already an issue](https://github.com/lobehub/lobe-chat/issues) that reports the same bug to avoid creating a duplicate.
- [ ] Make sure this is a LobeChat issue and not a third-party library or provider issue.
- [x] Check that this is a concrete bug. For Q&A, please use [GitHub Discussions](https://github.com/lobehub/lobe-chat/discussions) or join our [Discord Server](https://discord.gg/rGHwKq4R).

</details>

Labels: released, Model Provider, os:windows, deployment:server, docker, priority:medium, feature:settings, feature:streaming, provider:openai, platform:web, device:pc, hosting:self-host
State: closed