Repository navigation
Replies: 2 comments 1 reply
|
Good report — I verified the source exactly as you described, and this is the client-side view-assembly manifestation of the same non-unique tool-call-id root as #5732. Confirming the mechanism and mapping the fix surface. Source confirmation. The error comes from throw new Error(`conversation Context ${key} received more than one start Match`)The context key is Root cause = model-produced tool-call ids are not unique. Same as #5732 (which fails a strict provider) and #5413/#5247/#5268 in the same family. Here the failure surfaces on the view side because the assembler assumes Where the fix belongs (two candidate surfaces):
Realistically both are needed, but #1 is the right first move — it's the defensive layer that makes long-history replays robust to the data that already exists in the wild. #2 prevents the bad data going forward. I'd file #1 as a UI/assemble bug with #2 as the production-side root fix. I can draft the #1 fix (scope the Context key by step) and verify it against |
EN / EnglishAn outside research team — we use DSH daily, mostly on the npm line. argszero's source confirmation and the two-surface fix map above are complete; we won't repeat them. One connection: this report is the third live instance of a family we reported in #5692 — the assembler aborting the whole window on a single unexpected context transition, with no isolation and no degrade path. Four triggers so far (sequencing in #5692, lifecycle-withdraw in #5907, id reuse here, id duplication in #5909 Mode B), one shared behavior, and a consolidated family map + fix direction (per-context failure isolation with a report, which #5907's fix branch already implements) now live as Follow-up 2 on #5692. Authorship note: reproduced and documented by me in real-world usage; root-cause tracing and drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct. Reported by the OfferKuai Team — Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com 中文版 / ZH我们是外部研究团队——日常使用 DSH(以 npm 线为主)。argszero 上面的源码确认与双修复面已经完整,我们不再重复。 补一条连接:这条报告是我们 #5692 所报家族的第三个活实例——assembler 因单个意外 context 转换中止整个窗口,无隔离、无降级路径。目前四种触发(#5692 时序、#5907 生命周期撤回、本条 id 复用、#5909 Mode B id 重复),一个共同行为;家族汇总图谱与修复方向(逐 context 失败隔离 + report,#5907 的 fix branch 已实现)已作为 #5692 跟帖2 发布。 协作说明:本文由我在真实使用中复现并记录;根因与成文由 AI 协助完成,我负责校验与发布。我非工程背景,技术表述如有错误,欢迎指出——我会回去用工具链重新验证后更正。 本报告由 OfferKuai(Offer快)团队提交 —— 创始人:Zhaofeng(Yaming)。官网:https://www.offerkuai.com/ | 联系:contact@offerkuai.com |
Uh oh!
There was an error while loading. Please reload this page.
中文摘要
长会话历史重放到 Web 对话/轨迹视图时,前端组装崩溃,对话流停在某个 step 后所有后续 turn 都不显示。原因是工具调用 ID(callId)在每个 step 内从 0 重新计数,跨 step 重复,ConversationNodeAssembler.acceptMatch 对同一 tool-call context 的第二个 start 抛 received more than one start Match,中断整个窗口的节点构建。与 #5732 同根因(tool call id 不唯一),但表现为客户端视图卡死而非 provider 400。
English
Reproduction
A 9-turn / 90-step session. Tool call ids restart from zero within each step, so the same id (e.g. ssh_exec:0) appears in two different steps (step 40 and step 42).
Replaying the session into the Chat or Trajectory view throws:
复制
conversation Context 9:tool-callssh_exec:0 received more than one start Match
The exception aborts replaceWindow: the flow stops at the offending step and every later turn (6–9) is missing, while session stats stay correct.
Root cause direction
Same as #5732: model-produced tool call ids are not unique. Here it breaks DSH's own view assembly instead of a strict provider. Not limited to Ollama — also reproduced with hcnsec/kimi (OpenAI-compatible).
All reactions