{"version":"2.1.277","anchor":"thinking-display-error-detection-simplified","canonical_anchor":"thinking-display-error-detection-simplified","heading":"Thinking-display error detection simplified","tier":"internal","area":"Thinking Display","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/thinking-display-error-detection-simplified","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Thinking-display error detection simplified\n\nDetection of a specific thinking-display API error now uses only a regex match, not an added string check\n\n**What**\n\nClaude Code detects a particular API error (a 400-level error about how 'thinking' output should be displayed) in order to handle it specially. The detection logic now relies only on a regular expression match against the error message, dropping a second string-matching condition that used to also trigger the detection.\n\n**Why**\n\nSimplifying to a single check reduces duplicate logic; the regex alone was apparently sufficient to catch the cases the extra string match was also catching.\n\n- Area: Thinking Display\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}