summaryrefslogtreecommitdiffhomepage
path: root/js/src/session/prompt
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-26 21:08:15 -0400
committerDax Raad <[email protected]>2025-05-26 21:08:22 -0400
commite5242093526e407f829cd9eee1e90b7286d100f7 (patch)
treefe9b43a7d96b32435783e9c3370f4e45b640482b /js/src/session/prompt
parente1c897c1aed381aa07354f398417aeff6a720471 (diff)
downloadopencode-e5242093526e407f829cd9eee1e90b7286d100f7.tar.gz
opencode-e5242093526e407f829cd9eee1e90b7286d100f7.zip
title
Diffstat (limited to 'js/src/session/prompt')
-rw-r--r--js/src/session/prompt/title.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/session/prompt/title.txt b/js/src/session/prompt/title.txt
new file mode 100644
index 000000000..a57f9082b
--- /dev/null
+++ b/js/src/session/prompt/title.txt
@@ -0,0 +1,7 @@
+you will generate a short title based on the first message a user begins a conversation with
+- ensure it is not more than 50 characters long
+- the title should be a summary of the user's message
+- it should be one line long
+- do not use quotes or colons
+- the entire text you return will be used as the title
+- never return anything that is more than one sentence (one line) long