summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSpoon <[email protected]>2026-01-21 17:05:09 +0100
committerGitHub <[email protected]>2026-01-21 10:05:09 -0600
commitfd77d31b492e6db9d8c8b90fceee48ecbc52f3af (patch)
tree04cc691763f3f464354faa78008a0a4db3286d52
parent9f02ffe02dc32acd03aa15fff322c4ca85d28fa2 (diff)
downloadopencode-fd77d31b492e6db9d8c8b90fceee48ecbc52f3af.tar.gz
opencode-fd77d31b492e6db9d8c8b90fceee48ecbc52f3af.zip
tweak(session title): change prompt to have the response with user language (#9847)
-rw-r--r--packages/opencode/src/agent/prompt/title.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/opencode/src/agent/prompt/title.txt b/packages/opencode/src/agent/prompt/title.txt
index e7fc7b500..62960b2c4 100644
--- a/packages/opencode/src/agent/prompt/title.txt
+++ b/packages/opencode/src/agent/prompt/title.txt
@@ -12,6 +12,7 @@ Your output must be:
</task>
<rules>
+- you MUST use the same language as the user message you are summarizing
- Title must be grammatically correct and read naturally - no word salad
- Never include tool names in the title (e.g. "read tool", "bash tool", "edit tool")
- Focus on the main topic or question the user needs to retrieve