fix: The automated PR #2406 for this issue was closed without being merged, and its branch (bugfix/autodev-2405-20260924123345867) has since been deleted, so the fix never landed:
Pre-submission checklist | 提交前检查
- I have searched existing issues and this hasn't been mentioned before | 我已搜索现有问题,确认此问题尚未被提及
- I have read the project documentation and confirmed this issue doesn't already exist | 我已阅读项目文档并确认此问题尚未存在
- This issue is specific to MemOS and not a general software issue | 该问题是针对 MemOS 的,而不是一般软件问题
Bug Description | 问题描述
- PR #2406: state
closed,merged: false— closed 12:49:13Z, one second after Open Code Review asked for a follow-up fix - Commit
5f5d63f2("fix: upgrade DSH adapter message sources to session format v4") exists but is not contained in any branch dev-v2.0.36andmainstill containsource: { kind: "plugin", plugin: ... }atadapters/deepseek-harness/index.ts:390andhost-llm.ts:369- npm
@memtensor/memos-local-pluginis still2.0.20, so users have no fixed release to install
The commit content itself looked correct — both message sources were moved to kind: `plugin:<producer>` with the plugin field removed — so could it be re-submitted or merged manually?
One note for whoever picks this up: the Open Code Review finding about host-llm.ts needing a form property does not apply. The DSH v4 admission check only requires source.kind to be a non-empty string other than "plugin" (see source() in @deepseek-ai/dsh-session-format-v3-to-v4), and this plugin's own message filters match on source.kind === "user", so adding form is unnecessary.
How to Reproduce | 如何重现
1.Install DSH 0.1.7-rc.1 and enable @memtensor/[email protected] in a profile's dsh.profile.bundles.
2.Start dsh web and open a session that has at least one memory hit, so the agent/pre-step recall injection fires.
3.Send any message → the turn fails immediately with the error above.
The session log stops right after turn/start, i.e. during agent/pre-step, before any assistant output is produced. Every later message fails the same way.
Reverting DSH to 0.1.5-rc.2 with no plugin change fixes it immediately, which points at the source-kind shape rather than at the recall logic itself.
Environment | 环境信息
Python version: not applicable — this report concerns the DeepSeek Harness adapter (adapters/deepseek-harness/), not the Python package.
Operating System: Windows 11
MemOS version (pip show memoryos): not applicable; plugin version is @memtensor/[email protected] (current npm latest)
Node.js: v24.20.0
DSH: 0.1.7-rc.1 (the release that ships @deepseek-ai/dsh-session-format-v3-to-v4 and the v4 admission check). Reproduces on 0.1.7-rc.1; does not reproduce on 0.1.5-rc.2.
Additional Context | 其他信息
No response
Willingness to Implement | 实现意愿
- I'm willing to implement this myself | 我愿意自己解决
- I would like someone else to implement this | 我希望其他人来解决
Source: MemTensor/MemOS