Skip to content

Commit fd77d31

Browse files
tweak(session title): change prompt to have the response with user language (anomalyco#9847)
1 parent 9f02ffe commit fd77d31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/opencode/src/agent/prompt/title.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Your output must be:
1212
</task>
1313

1414
<rules>
15+
- you MUST use the same language as the user message you are summarizing
1516
- Title must be grammatically correct and read naturally - no word salad
1617
- Never include tool names in the title (e.g. "read tool", "bash tool", "edit tool")
1718
- Focus on the main topic or question the user needs to retrieve

0 commit comments

Comments
 (0)