Skip to content

v1.14.24:DeepSeek 推理修复 + HTTP API 文件操作端点

发布日期:2026年4月24日


🎯 一句话总结

修复了 DeepSeek 推理内容丢失问题,HTTP API 新增文件列表、文件读取和项目文件状态查询端点。


🆕 新功能:HTTP API 文件操作端点

这次更新了什么?

实验性 HTTP API 新增以下端点:

  • 列出文件
  • 读取文件内容
  • 查询项目文件状态

这有什么用?

通过 API 可以直接浏览和读取项目文件,方便构建基于 OpenCode 的自定义工具和集成。


🆕 新功能:MCP 服务器状态端点

这次更新了什么?

HTTP API 新增 MCP 服务器状态查询端点。

这有什么用?

可以通过 API 检查 MCP 服务器的连接状态,方便运维和监控。


🔧 问题修复

DeepSeek 推理内容丢失

问题:DeepSeek 助手消息中的推理内容(reasoning)有时不被包含,导致提供商格式化失败。

修复:确保推理内容始终包含在 DeepSeek 的消息中。

对你有什么影响:使用 DeepSeek 模型时更稳定,不会因为推理内容缺失而报错。


📊 要不要升级?

情况建议
使用 DeepSeek 模型✅ 强烈推荐
使用 HTTP API✅ 推荐
正常使用中可以等下次

⬆️ 升级命令

bash
opencode upgrade

📋 技术细节

点击展开完整更新列表

Core

  • Fixed DeepSeek assistant messages so reasoning is always included, avoiding provider formatting failures.
  • Fixed inherited model configs so interleaved-capability models keep working when that field falls back to an existing model. (@07akioni)
  • Added an experimental HTTP API endpoint for MCP server status.
  • Added experimental HTTP API endpoints to list files, read file contents, and check project file status.

Thank you to 1 community contributor:

  • @07akioni: fix: use existingModel as fallback for interleaved field (#24172)

← 返回更新日志