ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] 使用 deepseek-reasoner(DeepSeek) 模型,输出了无关的 Tool Call 信息。
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### 📦 部署方式
Vercel
### 📌 软件版本
commit/b6f5d756567c79cb15adb2f31a0399ed868668ef
### 💻 系统环境
Windows
### 📌 系统版本
11
### 🌐 浏览器
Chrome
### 📌 浏览器版本
134.0.6998.89
### 🐛 问题描述
使用 deepseek-reasoner(DeepSeek) 模型,输出了无关的信息。

```json
{
"method": "tools/call",
"params": {
"name": "write_file",
"arguments": {
"path": "/Users/river/dev/nextchat/test/git-bundle-guide.md",
"content": "# Git Bundle 完整指南\n\n## 核心功能\n✅ 离线仓库传输\n✅ 增量备份\n✅ 版本快照\n\n## 基础用法\n```bash\n# 创建全量备份\n git bundle create repo.bundle --all\n\n# 验证有效性\n git bundle verify repo.bundle\n\n# 克隆离线仓库\n git clone repo.bundle new-repo --mirror\n```\n\n## 高级技巧\n🔥 增量备份\n```bash\n# 首次全量备份\ngit bundle create v1.bundle HEAD main\n\n# 后续增量备份\ngit bundle create v2.bundle HEAD main ^v1.bundle\n```\n\n## 关键参数\n- `--all` 包含所有分支和标签\n- `--progress` 显示打包进度\n- `--version=` 指定格式版本\n\n## 典型应用场景\n1. 安全备份关键提交\n2. 无网络环境代码同步\n3. 大型仓库分段传输\n\n## 注意事项\n⚠️ 每次验证 bundle 完整性\n⚠️ 增量备份需保留前序 bundle\n⚠️ 使用后执行 `git clean -fd` 清理临时文件"
}
}
}
```
```json
{
"result": {
"success": true,
"message": "文件已写入 /Users/river/dev/nextchat/test/git-bundle-guide.md"
}
}
```
### 📷 复现步骤
(需要在 Vercel 中设置变量 `ENABLE_MCP=true`)
开启deepseek-reasoner(DeepSeek) 模型(官方API)
### 🚦 期望结果
设置 MCP 不应该在对话中显示相关内容。
### 📝 补充信息
update issue:
怀疑是因为设置了 MCP `ENABLE_MCP=true` 变量。
移除 MCP 变量后,重新部署经过测试后问题不再复现。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.