When Claude Code talks to the model, an error sometimes arrives partway through a reply without the usual numbered status code. New code gives such errors a status based on their type:
rate_limit_errorbecomes 429api_errorbecomes 500timeout_errorbecomes 504overloaded_errorbecomes 529
The rebuilt error keeps its request ID and any wait time the server asked for. After repeated 500 errors it is marked as not to be retried. Claude Code also decides whether a reply that ended early on a retryable error can be tried again. This depends on how far the reply had got, or on whether it held only thinking and was cut off because the servers were overloaded.
All of this sits behind the tengu_dynamic_duckling switch, which is off unless it is turned on remotely. The flag server returned off both for this site's account and for an anonymous check, though no reading has been taken under this release yet.
If it is turned on, errors that interrupt a reply would go through the same retry rules as errors with a status code, instead of being handled separately.
tengu_dynamic_duckling Off in both readingsThe flag server returned off for the account this site reads and for the anonymous baseline. A reading of off cannot rule out a rollout these two readings sit outside of.
This account: off · anonymous baseline: off · compiled default in v2.1.335: off
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.335. It isn't a statement about your account. What a flag value here can and cannot tell you
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
New in this build: tengu_dynamic_duckling