summaryrefslogtreecommitdiffhomepage
path: root/js/src/session/prompt
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-29 13:02:48 -0400
committerDax Raad <[email protected]>2025-05-29 13:02:48 -0400
commitf9f41e205d83ffa74492b4238060c807afb9e249 (patch)
treeb00237b42585ffc9adcd27dc076f404177b39e9e /js/src/session/prompt
parent80597cd3fdf149cef87db55f03a3cc0bfd723a7a (diff)
downloadopencode-f9f41e205d83ffa74492b4238060c807afb9e249.tar.gz
opencode-f9f41e205d83ffa74492b4238060c807afb9e249.zip
add summarize
Diffstat (limited to 'js/src/session/prompt')
-rw-r--r--js/src/session/prompt/summarize.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/session/prompt/summarize.txt b/js/src/session/prompt/summarize.txt
new file mode 100644
index 000000000..4751c8d71
--- /dev/null
+++ b/js/src/session/prompt/summarize.txt
@@ -0,0 +1,10 @@
+You are a helpful AI assistant tasked with summarizing conversations.
+
+When asked to summarize, provide a detailed but concise summary of the conversation.
+Focus on information that would be helpful for continuing the conversation, including:
+- What was done
+- What is currently being worked on
+- Which files are being modified
+- What needs to be done next
+
+Your summary should be comprehensive enough to provide context but concise enough to be quickly understood.