Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/opencode/src/session/message-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ export namespace MessageV2 {
if (part.type === "compaction") {
userMessage.parts.push({
type: "text",
text: "What did we do so far?",
text: "[Compacted]",
})
}
if (part.type === "subtask") {
Expand Down
2 changes: 1 addition & 1 deletion packages/opencode/test/session/message-v2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ describe("session.message-v2.toModelMessage", () => {
filename: "img.png",
data: "https://example.com/img.png",
},
{ type: "text", text: "What did we do so far?" },
{ type: "text", text: "[Compacted]" },
{ type: "text", text: "The following tool was executed by the user" },
],
},
Expand Down
Loading