{"version":"2.1.328","anchor":"api-resumption-path-gated-by-tengu-peaceful-wigderson","canonical_anchor":"api-resumption-path-gated-by-tengu-peaceful-wigderson","heading":"Cut-off model responses can resume where they stopped","tier":"soon","area":"API Requests","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/api-resumption-path-gated-by-tengu-peaceful-wigderson","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Cut-off model responses can resume where they stopped\n\nClaude Code can now ask the API to continue a response that stopped early, using a resumption token, behind a switch that is off by default\n\n**What**\n\nSometimes a response from the model stops before it is finished: it hits its length limit, the server times out, or the server pauses the turn. In those cases the API may now send back a resumption token, and Claude Code can send the request again with that token so the response carries on.\n\nThis only happens when all of these hold:\n\n- You connect to Anthropic's API directly, not through another cloud provider.\n\n- A beta feature is turned on for the request.\n\n- The `CCR_SESSION_PROFILE` environment variable is not set.\n\nA server-controlled switch also governs it, and that switch is off unless it is switched on remotely.\n\n**Why**\n\nResponses that are cut short or time out could carry on instead of failing, once the switch is on.\n\n- Flag `tengu_peaceful_wigderson`: Not enough to say (read for one account on one subscription tier against v2.1.328; this account: no value returned, anonymous baseline: no value returned, compiled default: 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.\n- Area: API Requests\n- Names: `tengu_peaceful_wigderson`\n- Tier: Nothing to try yet\n- Useful: 4\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}