{"version":"2.1.327","anchor":"dropped-prompt-and-unfinished-reply-handling-in-the-sdk-sess","canonical_anchor":"dropped-prompt-and-unfinished-reply-handling-in-the-sdk-sess","heading":"SDK sessions handle dropped prompts and cut-off replies","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/dropped-prompt-and-unfinished-reply-handling-in-the-sdk-sess","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### SDK sessions handle dropped prompts and cut-off replies\n\nSDK sessions can now report a dropped prompt and set aside the extra parts of a reply that never finished\n\n**Unclear.** It is not clear what makes Claude Code report a dropped prompt or drop these pieces.\n\n**What**\n\nWhen another program drives Claude Code through the SDK, Claude Code can now report a prompt that was dropped and use that report in place of the missing input. Claude Code pairs each tool call (an action Claude asks to take) with its result. It can now drop the other pieces that came with a reply that never finished, meaning a reply with no reason recorded for why it stopped.\n\n**Why**\n\nSessions whose turns were interrupted should recover more cleanly.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}