Skip to content

Account Pooler: Claude Code model picker never shows new models (CLI skips its served model catalog without a claude.ai login) #7329

Closed

Description

@seklow

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 get ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN and CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST=1 (server.ts#L74-L79, #L370-L375).
  • Checked against main at 9cc701a2ac20fc1e719d320bb51b01bd5d368a9e.

Steps to reproduce

  1. Enable Account Pooler routing for Claude, with the host's own Claude Code login empty or not used.
  2. After a model is released that the CLI only learns about from its served catalog, run bb provider models claude-code.
  3. 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

What you ruled out

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

  1. added theissue type on Nov 10, 2026
  2. added
    providers
    provider-claude-code
    partial-repro
    on Nov 10, 2026
  3. bb-slop-cop commented on Nov 10, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification: Bug · Priority: Medium · Effort: Medium.
    • Labels: providers, provider-claude-code, partial-repro.
    • Report: Reproduction and root-cause report.
    • Verdict: PARTIALLY REPRODUCED · Confidence: medium. Two clean trusted-main checkouts each passed six model/memo tests and the selected pool-environment test.
    • Finding: bb derives Claude models solely from CLI initialization while pooled routing deliberately isolates the host login. The CLI's live served-catalog authentication gate and new-model access remain unverified; bb's bridge memo does refresh.
    • No PR: the authenticated omission is not reproduced, and a safe repair may cross catalog/authentication boundaries.
  4. csells commented on Nov 10, 2026

    @csells

    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 ba05ae88e and 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.

    AGENT GENERATED

  5. added a commit that references this issue on Nov 10, 2026
    8b23232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    partial-reproprovider-claude-codeproviders

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions