diff options
| author | Adam <[email protected]> | 2025-12-22 13:09:12 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-22 13:09:12 -0600 |
| commit | 1b1b73b5b317bb190e994506b8e3b57b07a685cb (patch) | |
| tree | b9fcdd42bd9350e2b199b01463dcb516ea201e5e | |
| parent | 6baee0791f48bcf32eef1e199d0cadca57772b9b (diff) | |
| download | opencode-1b1b73b5b317bb190e994506b8e3b57b07a685cb.tar.gz opencode-1b1b73b5b317bb190e994506b8e3b57b07a685cb.zip | |
fix(prompt): better summary prompt
| -rw-r--r-- | packages/opencode/src/agent/prompt/summary.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/opencode/src/agent/prompt/summary.txt b/packages/opencode/src/agent/prompt/summary.txt index 6c11638db..c9264db18 100644 --- a/packages/opencode/src/agent/prompt/summary.txt +++ b/packages/opencode/src/agent/prompt/summary.txt @@ -1,4 +1,10 @@ -Summarize the following conversation into 2 sentences MAX explaining what the -assistant did and why -Do not explain the user's input. -Do not speak in the third person about the assistant. +Summarize what was done in this conversation. Write like a pull request description. + +Rules: +- 2-3 sentences max +- Describe the changes made, not the process +- Do not mention running tests, builds, or other validation steps +- Do not explain what the user asked for +- Write in first person (I added..., I fixed...) +- Never ask questions or add new questions +- Only exception: if the conversation ends with an unanswered question to the user, preserve that exact question |
