mirror of
https://github.com/sst/opencode.git
synced 2025-08-09 15:58:03 +00:00
12 lines
449 B
Go
12 lines
449 B
Go
package prompt
|
|
|
|
import "github.com/opencode-ai/opencode/internal/llm/models"
|
|
|
|
func TitlePrompt(_ models.ModelProvider) string {
|
|
return `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`
|
|
}
|