Repository navigation
子代理BUG #117
Replies: 4 comments
|
已定位根因:父代理创建时 agentOptions 固化为默认模型选择(defaultModelSelection),而父代理实际运行模型是会话级选择(selectionFor:in-process 选择 → session request header → 默认);子代理继承的只是 parent.options(创建时默认路由),因此会话内切到第三方 provider 时,子代理仍按 deepseek-official 解析凭据、必然 MISSING_CREDENTIAL。完整源码定位(4 个断点)与修复方案(推荐继承父代理有效模型)见 #455 。 |
|
我也遇到了。我当前使用的时deepseek-v4-flash,但workflow工具创建的9个子模型用的却是deepseek-v4-pro😢 |
|
Same root cause, full bug report with two-way reproduction & proposed fix: #1581 — Bug: Subagents inherit the parent session's creation-time model snapshot instead of the model the session actually uses Summary: |
|
这个原生子代理“继承创建时默认 route,而不是父会话当前 route”的问题,可以先换一条已经验证过的子代理入口: dsh plugin --profile web add pi2dsh@0.10.0
dsh plugin --profile web add @tintinweb/pi-subagents它的 省略 不同父子 provider/model 的真实 DSH child loop 已验证,能避免这里静默回退到 |
Uh oh!
There was an error while loading. Please reload this page.
使用第三方api时模型调用子代理会失败,llm-deepseek: no API key for provider route "deepseek-official"; store DEEPSEEK_API_KEY through the credentials service (the web Models page writes it), or export DEEPSEEK_API_KEY in the launching environment

All reactions