summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorShantur Rathore <[email protected]>2025-12-10 23:21:38 +0000
committerGitHub <[email protected]>2025-12-10 17:21:38 -0600
commit89d51ad5962543978968164e6e08f73444af4cc0 (patch)
treefd06a52bf778e22052500eb53d13af82ec3f2ac6
parent15b8c1454221d8da7a7e62cf6ac56c3ac9c43c72 (diff)
downloadopencode-89d51ad5962543978968164e6e08f73444af4cc0.tar.gz
opencode-89d51ad5962543978968164e6e08f73444af4cc0.zip
compaction: improve compaction prompt (#5348)
-rw-r--r--packages/opencode/src/session/compaction.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/session/compaction.ts b/packages/opencode/src/session/compaction.ts
index 45bab9ae6..f9d1b1c04 100644
--- a/packages/opencode/src/session/compaction.ts
+++ b/packages/opencode/src/session/compaction.ts
@@ -174,7 +174,7 @@ export namespace SessionCompaction {
content: [
{
type: "text",
- text: "Summarize our conversation above. This summary will be the only context available when the conversation continues, so preserve critical information including: what was accomplished, current work in progress, files involved, next steps, and any key user requests or constraints. Be concise but detailed enough that work can continue seamlessly.",
+ text: "Provide a detailed prompt for continuing our conversation above. Focus on information that would be helpful for continuing the conversation, including what we did, what we're doing, which files we're working on, and what we're going to do next considering new session will not have access to our conversation.",
},
],
},