fix: enhance session title prompt to fix language issue (#2497)
* Closes #2495
commitdd7b58df1b8037146f4aa8d33e09b711ef777196
authorAndrey Nering <andreynering@users.noreply.github.com>
dateThu 26 Mar 2026, 10:41 (7 months ago)
parent71ddb7a
internal/agent/templates/title.md+1−1
@@ -1,7 +1,7 @@
11You will generate a short title based on the first message a user begins a conversation with.
22
33<rules>
4−- Keep the same spoken language used in the content. For example, if the content is in Portuguese, title should be in Portuguese, if English title should be in English, and so on.
4+- Keep the title in the same language that the user wrote their message in.
55- Ensure it is not more than 50 characters long.
66- The title should be a summary of the user's message.
77- It should be one line long.