docs: Claude Code v2.1.233 - unrecognized model diagnostic + GitLab MR worktrees - #1178
Merged
Merged
Conversation
…R worktrees Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Night shift report
WHY THIS MATTERS: v2.1.233 ships a new structured diagnostic that matters most to anyone running Claude Code in scripts, CI, or behind an LLM gateway with custom model aliases. When Claude Code sends a request using a model ID it doesn't recognize, it now emits a parseable
[claude-code:unrecognized_model]line to stderr with JSON payload — instead of silently proceeding. Gateway users can silence it by adding amodelOverridesentry; script authors can match the prefix to detect misconfiguration programmatically. Separately,--worktreecan now branch directly from a GitLab merge request URL (parity with GitHub PR support), and naming task-tracking tools in--tools/--allowedToolsnow automatically opts the session into task tool availability.HIGHLIGHTS:
[claude-code:unrecognized_model]diagnostic (v2.1.233+): stderr line with JSON{model, query_source}when Claude Code sends a request for an unrecognized model ID — once per model string per process, routed to debug log in interactive sessions. Fix: add amodelOverridesentry mapping the alias to a known Anthropic model ID.claude -w <gitlab-mr-url>now branches a worktree from a GitLab merge request, matching the existing GitHub PR behavior. Requires v2.1.233+.--toolsor--allowedToolsnow opts the session into task tool availability — closes a gap where users had to enable task tools through settings rather than the CLI.Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning