Skip to content

The open source coding agent.

TypeScript

summary tweaks

Dax Raad9def7cff2da5
diff --git a/packages/opencode/src/session/summary.ts b/packages/opencode/src/session/summary.ts
index 3b080799738..f796f40e3e9 100644
--- a/packages/opencode/src/session/summary.ts
+++ b/packages/opencode/src/session/summary.ts
@@ -30,7 +30,7 @@ export namespace MessageSummary {
{
role: "user",
content: `
- Summarize the following conversation into 2 sentences MAX explaining what happened and why
+ Summarize the following conversation into 2 sentences MAX explaining what the assistant did and why. Do not explain the user's input.
<conversation>
${JSON.stringify(MessageV2.toModelMessage(messages))}
</conversation>