Repository navigation
Description
Summary
When Account Pooler routes Claude Code, bb's model picker never shows new Claude models. On my machine Claude Fable 5.2 is missing although Claude Code 2.1.321 supports it and the pooled accounts can use it: a pooled request with --model claude-fable-5-2 succeeds. bb builds the picker from Claude Code's initialize response. Claude Code builds the Fable entry from its served model catalog, but under the pool it skips that fetch because the session has no claude.ai login. So the picker shows a cached list, and the cache is never refreshed while routing is on.
I expected the picker to list the models the pooled accounts can use, including newly released ones.
Versions and environment
- bb 0.49.0 (npm
bb-app, systemd user service, Linux), Claude Code 2.1.321 at~/.local/bin/claude. - Account Pooler routing on for Claude with 8 OAuth accounts, all added with
--login. Routed sessions getANTHROPIC_BASE_URL,ANTHROPIC_AUTH_TOKENandCLAUDE_CODE_PROVIDER_MANAGED_BY_HOST=1(server.ts#L74-L79, #L370-L375). - Checked against
mainat9cc701a2ac20fc1e719d320bb51b01bd5d368a9e.
Steps to reproduce
- Enable Account Pooler routing for Claude, with the host's own Claude Code login empty or not used.
- After a model is released that the CLI only learns about from its served catalog, run
bb provider models claude-code. - Optional: run a pooled CLI with a debug file, as bb's routed threads do:
ANTHROPIC_AUTH_TOKEN="$BB_ACCOUNT_POOL_PARENT_TOKEN" claude -p --model claude-haiku-5-5 --debug-file /tmp/cc-debug.txt "Reply with exactly: OK" < /dev/null
Expected vs actual
Actual. bb provider models claude-code on 2026-11-10:
claude-opus-5-5 Opus 5.5 *
claude-fable-5-1 Fable 5.1
claude-sonnet-5-5 Sonnet 5.5
claude-haiku-5-5 Haiku 5.5
The pooled CLI's debug log (2.1.321) skips both catalog sources:
[DEBUG] [Bootstrap] Skipped: no usable OAuth, WIF, or API key
[DEBUG] [servedCatalog] off (not_claude_ai_auth)
[DEBUG] [publishedCatalog] shadow compare logged (fetch=cache_fresh, rows=14, source=compiled)
~/.claude.json additionalModelOptionsCache still holds only claude-fable-5-1[1m]. It was written before Fable 5.2 was released and nothing refreshes it under the pool.
Access is not the problem. The same pooled CLI with --model claude-fable-5-2 answered correctly, and its modelUsage shows claude-fable-5-2. Selecting the unlisted id with bb thread spawn --model claude-fable-5-2 is the only way to reach it today.
Expected. The picker lists Claude Fable 5.2, and more generally whatever the pooled accounts' served catalog contains, without each user having to run claude once with a personal login.
Evidence
- The picker comes only from the CLI's
initializemodels (bridge/model-list.ts#L5-L16, initialization-probe.ts#L35-L48, model-list.ts#L79-L100). - Routed Claude Code authenticates only with the hub token, and since Make the Account Pooler hold its own logins #6691 it is deliberately kept away from the host login (
CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST=1). That keeps the host login intact, but it also leaves the CLI without the claude.ai auth that its bootstrap and served catalog require. - Investigation: bb thread
thr_agudxusj98(private).
What you ruled out
- Not Automate @anthropic-ai/claude-agent-sdk version bumps so new Claude models reach the picker without a stale pin #4902 (stale
@anthropic-ai/claude-agent-sdkpin). The CLI used for discovery is 2.1.321, which knows Fable 5.2. What fails is the catalog fetch, not the CLI version. - Not account access: an explicit pooled request to
claude-fable-5-2succeeds. - Not Composer silently switches a thread to the catalog default (Sonnet 5) when the Claude Code catalog stops listing its exact model id #4370 (the composer switching models when the catalog drops an id). That one is downstream of catalog content, while here the catalog is never refreshed.
Suggested priority and effort
Medium. It affects every pooled Claude setup whenever Anthropic releases a model, and new models stay invisible until someone works around it. Possible directions:
- the pool could serve Claude Code's bootstrap and served-catalog requests with one of its accounts' OAuth;
- or bb could fetch the model catalog through the pool itself and merge it into the picker.
AGENT GENERATED
Activity
bb-slop-cop commentedon Nov 10, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotproviders,provider-claude-code,partial-repro.csells commentedon Nov 10, 2026
The fix is available in PR #7389, expanded to enforce shared model discovery and freshness across Claude, Codex, Pi, ACP, and BB's UI/CLI/SDK/internal consumers.
The candidate includes latest upstream main
ba05ae88eand is pushed to csells/bb at 93e26e69e. It adds shared refresh, catalog freshness/revision metadata, complete pagination, execution-context discovery, and UI polling/change propagation. No hard-coded Fable-version patch is needed.Verification: 2,327 distinct tests passed, relevant typechecks and the full application build passed; ten existing platform/runtime-gated tests skipped on Linux. In the disposable VM, browser and CLI returned matching 15-model catalogs including Fable 5.2, and real pooled Fable 5.2 inference passed. Staging review.
PR #7389 remains automatically closed by the contributor allowlist gate, and its Files changed view is frozen at the earlier head. Review the full current diff. A maintainer must approve the contributor and reopen it; no attempt has been made to bypass that gate. Stable BB is unchanged.
List pooled accounts' Claude models in the Claude Code picker (get-bb…