From 06cf63fa9d929aac71eaa66f4612681c21ca4f9f Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 25 Mar 2026 14:09:20 -0300 Subject: [PATCH] fix: session titles should keep the same spoken language --- internal/agent/templates/title.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/internal/agent/templates/title.md b/internal/agent/templates/title.md index aaf2a49edaa965710269a22a70e23fbbb644934e..7a3e7d0518dccd3fde668ff534106e0459e2245e 100644 --- a/internal/agent/templates/title.md +++ b/internal/agent/templates/title.md @@ -1,10 +1,11 @@ -you will generate a short title based on the first message a user begins a conversation with +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 +- 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. +- 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.