on main help sign in
fix: enhance session title prompt to fix language issue (#2497)
dd7b58dAndrey Nering
internal/agent/templates/title.md+1−1
@@ -1,7 +1,7 @@
1You will generate a short title based on the first message a user begins a conversation with.
1You will generate a short title based on the first message a user begins a conversation with.
2
2
3<rules>
3<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.
5- Ensure it is not more than 50 characters long.
5- Ensure it is not more than 50 characters long.
6- The title should be a summary of the user's message.
6- The title should be a summary of the user's message.
7- It should be one line long.
7- It should be one line long.