@deepseek-ai/dsh-llm typert codec incomplete + web profile 缺 service-provider bundle #7748
Replies: 2 comments
|
Update 2026-09-25: retested with dsh 0.1.7-rc.1. Partial fix confirmed:
Still broken:
Root cause narrowed: packages are bundled, but no cordis-plugin provides these services to the ctx. Need a provider registration step in web profile startup. Repro: install obsidian-dsh-acp@0.3.0-rc.1 in dsh web profile, enable DSH_ACP_USE_OFFICIAL_BRIDGE=1, send any prompt -> adapter falls back to legacy spawn. |
|
Follow-up: additional class of missing tool_call frames. When prompt is plan-style (e.g., "check if X has been updated in the docs"), some models (tested: jl-token / DeepSeek-V4-Flash) emit tool-call intent as raw text markup instead of structured tool_call:
Session JSON evidence (Obsidian Agent Client): Both markup formats observed in the same session — model behaviour is inconsistent between turns. The DSML form repeats the markup block twice in one response, suggesting model confusion or fallback path. Repro:
Workaround until upstream fix: reword to direct-task prompts ("read file X") which the model handles cleanly via structured tool_call. Ask: add a raw tool-call markup detector in dsh runtime that recognizes DSML / XML tool-call shapes in text output and converts them to structured tool_call events. |
Uh oh!
There was an error while loading. Please reload this page.
现象
dsh web(web profile)启动时,@deepseek-ai/dsh-llm无法注册其 typert manifest:影响
In-process cordis consumer(如
@deepseek-ai/dsh-acp的apply(ctx, ...))拿不到llm/sessionPersistence/agents/sessions四个核心 service。实测
probeOfficialBridge(ctx)返回:{ "importable": true, "servicesReady": false, "envSwitchOn": true, "missingServices": ["llm", "sessionPersistence", "agents", "sessions"], "applySignature": "2" }web profile 的 dependencies 不含
@deepseek-ai/dsh-llm/dsh-session/dsh-agent等 service-provider 包(即使装了也因 typert codec 失败)。复现
dsh web --no-open(web profile)probeOfficialBridge(ctx)→servicesReady: false请求
@deepseek-ai/dsh-llm的 typert manifest(llm/discoverModels参数 codec 缺create()factory)dsh web的 web profile 加载 service-provider bundles(llm / agents / sessions / sessionPersistence)环境
@deepseek-ai/dsh0.1.6-alpha.1(npm-global)@deepseek-ai/dsh-llm0.1.6-alpha.1All reactions