Browse Source

compaction: improve compaction prompt (#5348)

Shantur Rathore 2 months ago
parent
commit
89d51ad596
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/session/compaction.ts

+ 1 - 1
packages/opencode/src/session/compaction.ts

@@ -174,7 +174,7 @@ export namespace SessionCompaction {
           content: [
           content: [
             {
             {
               type: "text",
               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.",
             },
             },
           ],
           ],
         },
         },