Skip to content

Regression: Claude Code threads lost 1M context after update; [1m] model IDs removed from catalog and existing threads silently downgraded #4498

Closed

Description

@pontusfilen

Summary

Summary

Until a recent update, bb started Claude Code threads on claude-opus-5-5[1m] with a 1M context window. After updating bb and the Claude Code CLI, the [1m] variant disappeared from the claude-code model list. Existing threads were switched to claude-opus-5-5 (200k) on their next turn with no user action. Setting [1m] by hand is now rejected.

Versions and environment

Environment

  • bb 0.44.1-nightly.36461712640.1
  • Claude Code CLI 2.1.284
  • Both installed 2026-09-29, around 16:25 local time
  • macOS, Claude subscription login
  • ~/.claude/settings.json has "model": "opus[1m]", and the terminal claude still gets 1M context

Steps to reproduce

Steps to reproduce

  1. bb provider models claude-code → no [1m] entries.

  2. bb thread context --self on a new Claude thread → / 200,000 tokens.

  3. bb thread update --self --model 'claude-opus-5-5[1m]' →

    HTTP 400: Model "claude-opus-5-5[1m]" is not available in this thread's claude-code model catalog.
    

    opus[1m] gives the same error.

Expected vs actual

## Expected

- 1M variants stay available in the catalog and model picker, or there's a context-size toggle.
- A catalog change never silently changes the model of an existing thread. If a thread's model is no longer listed, keep it or tell the user, and don't downgrade the context window mid-thread.

## Actual

- 1M context is unavailable in bb.
- Existing 1M threads were downgraded to 200k without notice. That's risky for long threads that are already over 200k: several of mine are at 300k–600k.

Evidence

Evidence

From bb thread log --json --all:

  • Before the update, every Claude thread's turns used "model": "claude-opus-5-5[1m]", and contextWindowUsage.modelContextWindow was 1000000.
  • In two threads that were already running, the first turn after the update carries "execution": {"model": "claude-opus-5-5"}, and the window is 200000 from then on. No model change was made by the user.
  • Threads created after the update start on claude-opus-5-5 (200k).
  • After the change, those threads flip back and forth between modelContextWindow 1000000 and 200000 events within a single turn.

What you ruled out

No response

Suggested priority and effort (optional)

Medium

Checks

  • I reproduced this on the latest release or on main, or I say above that I could not.
  • I searched open and closed issues for the same problem.
  • If an agent wrote this, the body ends with > AGENT GENERATED and links the thread or report.

AGENT GENERATED

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions