← Reddit

Claude got stuck repeating “he he he” in expanded 'Thinking'

Reddit · Ok-Process4778 · July 4, 2026
A user reported that Claude began repeating "he he he" multiple times during an expanded thinking session, resembling a loop. The user questioned whether this repetitive pattern represents a common model degeneration issue across language models or was triggered by their specific prompt.

Detailed Analysis

A Reddit user reported an unusual glitch while using Claude: during an "extended thinking" session, the model's reasoning output became stuck in a loop, repeatedly generating the phrase "he he he" dozens of times before presumably continuing or terminating. The user posted a screenshot as evidence and asked the community whether this was a Claude-specific quirk or a more general symptom of language model degeneration, while also questioning whether something in their prompt might have triggered the repetitive output. The post, appearing in the r/ClaudeAI subreddit, reflects a recurring but relatively niche category of AI failure mode that surfaces periodically across various large language models.

This type of behavior is a known phenomenon in transformer-based language models often referred to as "repetition degeneration" or getting stuck in a "repetition trap." It typically occurs when a model's sampling process enters a low-entropy state where a particular token or short phrase becomes highly probable given the preceding context, creating a self-reinforcing loop that the model struggles to escape. This is especially relevant in "thinking" or extended reasoning modes, where models like Claude generate long chains of intermediate reasoning tokens before producing a final answer. Because this internal reasoning text is less constrained by user-facing quality expectations and often involves the model exploring tangents, backtracking, or expressing uncertainty, it may be more susceptible to falling into degenerate loops compared to tightly controlled final outputs. The specific artifact of "he he he" suggests the model may have been attempting to express something like laughter, hesitation, or a filler expression, and then became trapped repeating it rather than progressing to a new token sequence.

The broader significance of this report lies in what it reveals about the current state of reasoning-augmented AI systems. Anthropic, OpenAI, and Google DeepMind have all introduced "extended thinking" or "reasoning" modes in their flagship models (Claude's extended thinking, OpenAI's o-series chain-of-thought, and Gemini's "thinking" variants) as a way to improve performance on complex tasks by allowing models to deliberate before answering. However, these long-form internal reasoning traces are a relatively new and less battle-tested surface area compared to standard chat outputs, and they appear more prone to occasional degenerate behavior such as repetition loops, since they are generated with different sampling dynamics and are sometimes less rigorously filtered or fine-tuned for coherence. Users increasingly have visibility into these internal reasoning processes, either by design (as with Claude's visible extended thinking) or through interfaces that expose raw chain-of-thought, which means edge-case failures that previously would have been hidden inside a "black box" step are now publicly observable and shareable, as seen in this Reddit thread.

For end users and developers, incidents like this underscore ongoing challenges in achieving robust generation for long, unconstrained text sequences even as base model capabilities improve. Repetition loops are not unique to Claude; similar behavior has been documented across GPT models, Llama-based systems, and other transformers, particularly in earlier generations or under specific sampling parameters (e.g., low temperature settings or particular top-p/top-k configurations). The fact that this is being crowd-sourced and discussed on Reddit rather than confirmed via official Anthropic documentation also highlights the important role user communities play in surfacing and diagnosing model quirks that companies may not have anticipated or publicly acknowledged. As reasoning models become more prevalent and their "thinking" outputs more exposed to end users, incidents like this will likely prompt further scrutiny of how sampling strategies, training data, and reinforcement learning techniques can be refined to minimize degenerate repetition, particularly within extended generation contexts where the stakes for coherence and computational efficiency are higher.

Read original article →