{"version":"2.1.331","anchor":"documents-over-window-removal-on-too-long-requests-flagged","canonical_anchor":"documents-over-window-removal-on-too-long-requests-flagged","heading":"New handling when a request to Claude is too long","tier":"soon","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/documents-over-window-removal-on-too-long-requests-flagged","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### New handling when a request to Claude is too long\n\nToo-long requests can now have oversized documents removed, or the message saved to a file for Claude to read\n\n**What**\n\nClaude Code sends your conversation to the model as a request, and the model can refuse a request that is too long. This release adds new handling for that case:\n\n- Documents removed: if documents alone caused the request to be too long, for example PDFs or other files a tool read in, those document results are removed and replaced with an error. This only happens when the server-controlled switch `tengu_jaunty_lollipop` is on. Otherwise Claude Code only records that the removal was skipped. Nothing has been read about that switch.\n\n- Message saved to a file: a new notice reads \"Your message was too long to send to Claude in full, so it was saved to a file for Claude to read.\"\n\n- Largest part recorded: Claude Code now records usage data naming the largest part of an oversized request.\n\nThis work is associated with the switch `tengu_abstract_toucan`. For that switch the flag server returned no answer for this site's account and off for the anonymous baseline, and no reading has been taken under this release yet.\n\n**Why**\n\nA request that is too long would otherwise just fail. These paths give Claude a way to carry on, either by dropping oversized documents or by reading a long message from a file, and the notice tells you when your message was handled that way.\n\n- Flag `tengu_jaunty_lollipop`: Not enough to say (read for one account on one subscription tier against v2.1.331; 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- Flag `tengu_abstract_toucan`: Not enough to say (read for one account on one subscription tier against v2.1.331; this account: no value returned, anonymous baseline: off, compiled default: not a boolean we can read) 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: Compaction\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}