{"version":"2.1.219","anchor":"headless-text-output-recovers-the-last-full-assistant-messag","canonical_anchor":"headless-text-output-recovers-the-last-full-assistant-messag","heading":"Headless text output recovers the last full assistant message on an incomplete run","tier":"notice","area":"Headless Mode","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219\/e\/headless-text-output-recovers-the-last-full-assistant-messag","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219","markdown":"### Headless text output recovers the last full assistant message on an incomplete run\n\nIn headless text runs, an incomplete ending no longer swallows the last full answer.\n\n**What**\n\nIn `-p` runs that print plain text, a run that ends incomplete no longer discards the last complete assistant message.\n\n**Details**\n\n- Applies when the output format is neither `json` nor `stream-json`; the last and prior top-level assistant texts are tracked.\n- If the final result is a success-but-error whose text ends with \"The response above may be incomplete.\" and equals the last assistant text, the prior assistant text is printed above the result.\n- Compact boundaries and superseded messages reset the tracker.\n\n**Evidence**\n\n`The response above may be incomplete.`\n\n- Area: Headless Mode\n- Names: `-p`\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 0\/5"}