Repository navigation
subagent-codex pins @openai/codex 0.153.4, so current models fail with model_not_found #11820
Replies: 1 comment
|
The pin is the same in every channel: 0.153.4.
What that means for your report: DSH does not choose a codex model itself; it spawns the package-local payload as I verified the pin only. I did not run either payload, so the model lists in your table are yours, not mine. Workaround, in the shape this tree expects: the profile is a pnpm project with a flat # ~/.dsh/profiles/desktop/pnpm-workspace.yaml
overrides:
'@openai/codex': 0.166.0dsh plugin --profile desktop installpnpm ≥10 reads settings from Fix shape for the tree: bump the dependency and add a check that the payload version is what the provider expects, so the next model-catalog change is a deliberate bump rather than a silent break. If it still fails after the override, the useful next datum is which payload actually ran: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Bilingual report — English first, 中文在下半部分。
双语报告 —— 上半部分英文,下半部分中文。
Symptom
With a ChatGPT (not API-key) login, every
subagent_codexdelegation opens fine but dies at the turn stage (product-error, no closing message). Running the payload the plugin ships reproduces it outside DSH entirely:Root cause
@deepseek-ai/dsh-subagent-codexpins@openai/codexat 0.153.4 — both0.2.1-rc.5and the newer0.2.2-alpha.2. That CLI's app-server serves a legacy model catalog, so the current models are rejected by the backend:model/listSame account, same
~/.codex, same binary path — only the CLI version differs. With 0.166.0 a plain turn withgpt-6.1-solreturns normally.Environment
@deepseek-ai/dsh-subagent-codex0.2.1-rc.5 (0.2.2-alpha.2 has the same pin)~/.codex/config.tomlsetsmodel = "gpt-6.1-sol"gpt-6.1-solwithout problemsSuggested fix
Bump the
@openai/codexdependency to the current stable (0.166.0 as of this report) and re-verify the app-server handshake. The delegate path used by the provider (initialize→thread/start→turn/start) worked unchanged after swapping only the payload.Workaround
An
overridesentry for@openai/codex@0.153.4in the desktop profile'spnpm-workspace.yaml, plus a local payload swap for existing installs.subagent_codexthen works end to end, including tool calls inside the child workspace.中文版
现象
用 ChatGPT 账号(不是 API key)登录时,每次
subagent_codex委派都能连上,但在 turn 阶段失败(product-error,没有收尾消息)。用插件自带的那份 payload 在 DSH 之外就能复现同一个错误:根因
@deepseek-ai/dsh-subagent-codex把@openai/codex钉死在 0.153.4——0.2.1-rc.5和更新的0.2.2-alpha.2都是这个版本。该版本 CLI 的 app-server 提供的是旧的模型目录,导致当前这一代模型被后端拒绝:model/list返回同一个账号、同一份
~/.codex、同一个二进制路径,只有 CLI 版本不同。换成 0.166.0 后,用gpt-6.1-sol跑普通 turn 能正常返回。环境
@deepseek-ai/dsh-subagent-codex0.2.1-rc.5(0.2.2-alpha.2 的 pin 相同)~/.codex/config.toml里model = "gpt-6.1-sol"gpt-6.1-sol没有任何问题建议修法
把
@openai/codex依赖升到当前稳定版(写这份报告时是 0.166.0),再复验一次 app-server 握手。提供方用的委派链路(initialize→thread/start→turn/start)在只换 payload 的情况下没有改动就正常工作。临时方案
在桌面 profile 的
pnpm-workspace.yaml里给@openai/codex@0.153.4加一条overrides;对已经装好的环境再本地替换一次 payload。这样subagent_codex就能端到端跑通,包括在子工作区里调用工具。All reactions