From 8ce4c507a41293b9960a68501b603da048642aa7 Mon Sep 17 00:00:00 2001 From: Shoubhit Dash Date: Mon, 18 May 2026 15:04:30 +0530 Subject: [PATCH] fix(session): simplify compaction failure message --- packages/opencode/src/session/prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/session/prompt.ts b/packages/opencode/src/session/prompt.ts index 46a40de3dc..f36d5f7871 100644 --- a/packages/opencode/src/session/prompt.ts +++ b/packages/opencode/src/session/prompt.ts @@ -1697,7 +1697,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the const error = new MessageV2.ContextOverflowError({ message: - "Automatic compaction did not reduce the session below the model context limit. Remove large or uncompressible context, clear/restart the session, or run compaction again after reducing the conversation size.", + "Automatic compaction could not reduce this session enough to continue. Please start a new session.", }).toObject() yield* slog.info("auto compaction blocked", { boundary }) if (input.assistant) {