mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
Fix: title generation (#949)
This commit is contained in:
parent
7361a02ef3
commit
bb28b70700
1 changed files with 11 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue