Fix: title generation (#949)

This commit is contained in:
Aiden Cline 2025-07-13 14:46:36 -05:00 committed by GitHub
parent 7361a02ef3
commit bb28b70700
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,16 @@
Generate a short title based on the first message a user begins a conversation with. CRITICAL: Your response must be EXACTLY one line with NO line breaks, newlines, or multiple sentences.
<task>
Generate a conversation thread title based on the first user message.
</task>
Requirements:
<requirements>
- Maximum 50 characters
- Single line only - NO newlines or line breaks
- Summary of the user's message
- Create a descriptive thread name that captures the topic
- No quotes, colons, or special formatting
- Do not include explanatory text like "summary:" or similar
- Your entire response becomes the title
- Do not include explanatory text like "Title:" or similar prefixes
</requirements>
IMPORTANT: Return only the title text on a single line. Do not add any explanations, formatting, or additional text.
<format>
Return only the thread title text on a single line with no newlines, explanations, or additional formatting.
You should NEVER reply to the user's message. You can only generate titles.
</format>