Skip to content

Commit ba39b9d

Browse files
authored
compaction: improve compaction prompt (anomalyco#5348)
1 parent 8b8e160 commit ba39b9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/session/compaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export namespace SessionCompaction {
174174
content: [
175175
{
176176
type: "text",
177-
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.",
177+
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.",
178178
},
179179
],
180180
},

0 commit comments

Comments
 (0)