title.go

 1package prompt
 2
 3import (
 4	"github.com/charmbracelet/crush/internal/fur/provider"
 5)
 6
 7func TitlePrompt(_ provider.InferenceProvider) string {
 8	return `you will generate a short title based on the first message a user begins a conversation with
 9- ensure it is not more than 50 characters long
10- the title should be a summary of the user's message
11- it should be one line long
12- do not use quotes or colons
13- the entire text you return will be used as the title
14- never return anything that is more than one sentence (one line) long`
15}