Repository navigation
Replies: 9 comments 1 reply
|
一样的问题 |
|
同款bug(手动狗头) |
What the error isPrompt assembly interpolates At The boundary is 0.2.0-rc.2 → 0.2.1-alpha.2, and it was deliberateAt
Commit So "it worked on 0.2.0-rc.2" is exact, and the removal was intentional: the working directory stopped being baked into the persona and became runtime context instead ( Which means the reference is coming from a layer the upgrade does not rewriteProfile composition is bundle layers → the profile's own patch file → the home patch file →
One command settles which one it is — the config dump prints every layer with the file it came from, and composes nothing: The The fixDelete the Why someone can have this without remembering an editThe configuration editor persists a row's whole effective config, not the changed field. In Three things worth fixing upstream, smallest first
This is the same shape as #9952 (a stale |
A plugin that restores the nameI built the shim described above: @argszero/dsh-legacy-prompt-vars ( It registers Two properties it holds on purpose, because getting either wrong would replace your current error with another fatal one:
It also steps aside if a future release registers Scope, deliberately: only Status: repository first, npm next. The registry is unreachable from this machine right now, so there is nothing to npm install github:argszero/dsh-legacy-prompt-varsand mount it from your profile's - insert:
- id: legacy-prompt-vars
name: '@argszero/dsh-legacy-prompt-vars'The packed artifact is This is still not the fix. Deleting the stale clause from the file What you can weigh it on: the suite mounts the real |
|
让Astra大人给我修了一下: 我遇到的报错是: 所有模型都会失败,因为错误发生在提示词组装阶段,尚未调用模型接口。 排查后发现两个关键点:
修复方法是定位当前实际加载的配置/预设,备份文件,然后删除提示词中失效的工作目录插值。例如: - You are an image-generation and prompt-engineering agent powered by the {{model}} model, working in {{cwd}}.
+ You are an image-generation and prompt-engineering agent powered by the {{model}} model.如果报错是 删除这句即可,不要删除整个配置文件,也不要删除其他用途的 修改后完全退出桌面版(包括托盘)并重新启动,再发送消息测试。 验证情况: 使用桌面版自身的配置加载器复查,修改前只有自定义出图预设包含未知变量;修改后配置加载成功,全部已加载人设模板的变量检查通过。实际模型回复仍待重启后验证。 建议排查时同时确认:运行的是哪一份安装、使用哪个 profile、错误模板来自哪个插件或配置层,不要仅凭另一份 CLI 的导出结果判断桌面版配置。 |
|
Publication status: Verified through the registry's version endpoint: It restores the removed prompt variables at the provider layer instead of rewriting anyone's stored profile, so a config layer that still references |
|
I resolved this locally by editing the DSH configuration files:
|



Uh oh!
There was an error while loading. Please reload this page.
dsh win 更新后用不了模型,出现 本轮运行失败unknown prompt variable "{{cwd}}" in section "deployment:persona-suffix"; registered variables: provider, model UNKNOWN

更新前是0.2.0 rc2 一切正常
All reactions