【Bug】0.1.2-rc.1:llm-pi-ai 设置命名空间静默未注册,自定义供应商全部失效 #5553
SunshineR04
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
EN TL;DR: On 0.1.2-rc.1, the
llm-pi-aisettings namespace is silently never registered at runtime. All custom providers declared in settings.yaml (tokenrhythm, opencode-go) disappear from the model catalog, the Models settings page shows only the built-in DeepSeek login, and the "add custom provider" button stays disabled.settings.describeproves the namespace is absent while 16 other namespaces register fine; the config section itself passes the adapter's own schema validation. No errors anywhere.环境
@deepseek-ai/dsh@0.1.2-rc.1(next 标签,从 0.1.1-rc.2 原地升级)@deepseek-ai/*家族对齐到 0.1.2-rc.1)现象
排查证据(均为运行时实测)
1.
settings.describeRPC:设置服务本身完全正常,唯独 llm-pi-ai 未注册2.
session/modelCatalogRPC:自定义路由静默缺席,无任何失败记录3. 配置本身完全合规: 直接导入本机安装的
@deepseek-ai/dsh-llm-pi-ai@0.1.2-rc.1的Config,对 settings.yaml 的llm-pi-ai段解析:VALID,providers = [tokenrhythm, opencode-go]。--dump-config组合树中llm-pi-aibundle 正常列出、无disabled标记。启动日志(stdout/stderr 全量捕获)零警告零报错。4. 一个易误读的表象: "添加自定义提供方"按钮的禁用并非独立功能开关。源码条件(
dsh-client-ui-settings-models/lib/client.js)为:其中
protocols来自protocolChoices(state.namespaces.get("llm-pi-ai"), schema)——命名空间未注册时protocols必为空,按钮必然灰。它与症状 1/2 是同一根因:llm-pi-ai 的apply()没有执行到installSection(或插件整体静默挂起)。请社区/官方协助确认
在干净环境(全新 profile、无第三方插件)安装 0.1.2-rc.1 后:
settings.describe的 namespaces 列表里是否有llm-pi-ai?若干净环境同样缺席 → rc.1 启动缺陷;若正常 → 本机特定状态触发,我愿配合提供进一步信息。
关联
llm-pi-ai段写于 0.1.1-rc.2 时代(该版本不含 llm-pi-ai 组件,属迁移前预写的 0.1.2 格式配置),因此在 rc.2 下从未生效,无法提供"rc.2 正常加载同一配置"的对照基线。All reactions