Claude Code v2.1.301: switching to a smaller model now summarizes your long conversation first

1 month ago

Claude Code 2.1.301 has the previous model summarize a long conversation before you switch to a model with a smaller context window, and asks before spending usage credits on it. It also asks before quitting removes a hook-made worktree with unpushed commits, falls back to the previous Fable model when the newest isn't available, caps usage-limit waits in unattended retry mode, adds the % motion to vim mode, and renders LaTeX math in VS Code.

Ask about this presentation

Chapters

Show transcript
  1. Switch Claude Code to a model with a smaller context window, and a conversation too long for it is now summarized by the previous model first. Claude Code asks before spending usage credits on that summary.

    Slide text
    Claude Code

    Claude Code v2.1.301: switching to a smaller model now summarizes your long conversation first

    When you switch to a model with a smaller context window

    Too long for the new model
    the previous model summarizes the conversation first
    Usage credits
    Claude Code asks before spending them on that summary
    CHANGELOG.md · anthropics/claude-code
  2. If a WorktreeCreate hook made your worktree, quitting Claude Code could remove it without asking, unpushed commits and all. Claude Code now asks before it removes that worktree.

    Slide text
    Claude Code

    >Quitting now asks before removing a worktree that may hold unpushed commits

    Which worktrees
    ones a WorktreeCreate hook made
    Before
    quitting removed them without asking
    CHANGELOG.md · anthropics/claude-code
  3. The fable and best model aliases stop erroring on the Anthropic API when your organization can't use the newest Fable model. Claude Code retries once on the previous Fable model.

    Slide text
    Claude Code

    >The fable model alias falls back when your organization lacks the newest Fable model

    Aliases
    fable and best
    Anthropic API
    Claude Code retries once on the previous Fable model instead of erroring
    CHANGELOG.md · anthropics/claude-code
  4. Claude Code's unattended retry mode gets a new setting for usage limits. When a limit resets too far away, the request ends instead of waiting for the reset.

    Slide text
    Claude Code

    >Unattended retry mode can stop waiting on a usage limit that resets too far away

    CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS

    Applies to
    CLAUDE_CODE_RETRY_WATCHDOG, the unattended retry mode
    Limit resets too far away
    the request ends instead of waiting
    CHANGELOG.md · anthropics/claude-code
  5. In Claude Code's vim mode, the percent key jumps to the matching bracket, alone or with delete, change or yank. And Escape stops leaving you in insert mode on a slow or busy machine.

    Slide text
    Claude Code

    >Vim mode jumps to the matching bracket with %

    %
    alone, or with d, c or y
    Esc
    no longer leaves you in INSERT on a slow or busy machine
    AskUserQuestion
    the typed answer gets NORMAL mode; Esc cancels only from NORMAL
    CHANGELOG.md · anthropics/claude-code
  6. The Claude Code extension for VS Code now renders LaTeX math in Claude's responses, as blocks and inline. On Pro and Max plans, the usage-limit banner gets a link to more usage, in JetBrains too.

    Slide text
    Claude Code

    >VS Code renders LaTeX math in Claude’s responses

    Blocks
    $$ … $$ and multi-line \[ … \]
    Inline
    $ … $ and \( … \)
    Pro and Max
    a “Get more usage” link on the usage-limit banner, in VS Code and JetBrains
    CHANGELOG.md · anthropics/claude-code
  7. Grep and Glob now report a failed search as an error. The Read tool stops treating spreadsheets and photos as text. And behind an LLM gateway, conversations stop compacting over and over.

    Slide text
    Claude Code

    >Fixed: silent search failures, binary files as text, repeated compaction

    Grep and Glob
    a search that fails returns an error, not an empty result
    Read
    .xlsm, .parquet, .epub and .heic files are no longer treated as text
    LLM gateways
    no more compacting over and over on a model you didn’t pick
    CHANGELOG.md · anthropics/claude-code
  8. The Claude Code changelog on GitHub has the rest, including OpenTelemetry fields for auto mode decisions and new options for mods.

    Slide text
    Claude Code

    Every change is in the Claude Code changelog

    https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

    CHANGELOG.md in anthropics/claude-code
    CHANGELOG.md · anthropics/claude-code

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York