You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
评论区bug 本轮运行失败messages.28: tool_addition blocks can only be in system messages #367
I am documenting the host/provider tool_addition serialization boundary and a bounded fresh-session/static-tool troubleshooting path. OPS does not construct provider message roles, so this documentation will not claim a serializer implementation fix.
Activity
Haoming9527 commentedon Oct 24, 2026
I am documenting the host/provider tool_addition serialization boundary and a bounded fresh-session/static-tool troubleshooting path. OPS does not construct provider message roles, so this documentation will not claim a serializer implementation fix.
Haoming9527 commentedon Oct 24, 2026
按宿主 / provider 序列化边界关闭本仓库的问题记录;不是宣称旧会话已被修复。
已核对 OPS 源码:插件通过宿主工具注册 API 发布能力,不构造
tool_addition块,也不选择 provider 消息角色。DSH 的会话层要求工具变化出现在内部developer消息,而 DeepSeek 适配器负责把它转换为 wiresystem消息。可核对宿主源码:会话校验、DeepSeek 序列化。这里引用的是核查过的源码,不代表报告中的 0.2.1-rc.2 安装或已有历史已升级。OPS discovery 的工具变化确实可能触发该宿主路径。#400 已补充中英文说明和有界诊断:在新会话创建前确定配置及
alwaysLoaded,运行中保持工具集稳定;关闭 discovery 会失去仅由它提供的按需能力。此方法不修复旧历史,也不保证所有 provider 兼容。该文档 PR 的 Linux/macOS/Windows 与 required CI 已通过,尚未合入。如果仍复现,请向 DSH / 对应 provider 适配器提交准确版本、provider/model、request ID、工具增删列表,以及能显示错误消息角色的最小脱敏片段。现有证据支持在宿主序列化层修正这一拒绝;在 OPS 中改工具名称或重写历史角色不解决该契约问题。