You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pooled Codex sessions can't be resumed outside bb: model provider bb-account-pool not found #6107
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-codexBuilt-in plugin: provider-codexprovidersCross-provider bridges, models, login
Codex threads routed through the Account Pooler are recorded with model_provider = "bb-account-pool" in their session files under ~/.codex/sessions. bb defines that provider only through launch-time -c overrides (provider-codex/dist/host.js, resolveAppServerLaunch), never in ~/.codex/config.toml.
Other Codex clients share the same session store, so the ChatGPT desktop app lists these chats. Opening one fails:
ChatGPT can't load config.toml, so this chat can't resume.
Fix config.toml: Model provider bb-account-pool not found. After saving the file, reopen the chat.
On one machine, all 31 pooled bb Codex sessions were affected; non-pooled sessions resume normally.
Reproduction
With the ChatGPT app's bundled Codex (codex-cli 0.163.0-alpha.11.1) and an unchanged config.toml, codex app-server returns this for a pooled bb session:
-> {"id":2,"method":"thread/resume","params":{"threadId":"<pooled bb thread>","modelProvider":"bb-account-pool"}}
<- {"code":-32600,"message":"failed to load configuration: Model provider `bb-account-pool` not found"}
Without modelProvider, the resume succeeds, so the app passes the saved provider.
Workaround
Defining the provider in ~/.codex/config.toml fixes it. bb's -c flags override every key when bb launches its own threads, and pooled routing still works:
Record a provider other Codex clients can resolve (for example route through openai_base_url with the built-in openai provider), or have the Account Pooler write a resolvable bb-account-pool entry to config.toml and document it.
Cause: pooled launches persist bb-account-pool in Codex session metadata, but define that provider only through process-local overrides. A clean client cannot resolve the saved identity.
Verification: reproduced with real Codex 0.159.0 in two clean checkouts of main at 9c3c56fa2; the built-in-provider resume control succeeds. All 15 relevant existing tests pass. On this version, omitting the provider also fails; the desktop dialog was not tested.
No PR: a complete repair for already-saved sessions needs persistent configuration/session changes or a compatibility product decision, outside the automatic simple-fix limits.
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-codexBuilt-in plugin: provider-codexprovidersCross-provider bridges, models, login
Activity
bb-slop-cop commentedon Oct 22, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotproviders,provider-codex,confirmed-repro.bb-account-poolin Codex session metadata, but define that provider only through process-local overrides. A clean client cannot resolve the saved identity.9c3c56fa2; the built-in-provider resume control succeeds. All 15 relevant existing tests pass. On this version, omitting the provider also fails; the desktop dialog was not tested.