mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-06 17:34:58 +01:00
rework llm
This commit is contained in:
9
internal/llm/prompt/title.go
Normal file
9
internal/llm/prompt/title.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package prompt
|
||||
|
||||
func TitlePrompt() 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
|
||||
- do not use quotes or colons
|
||||
- the entire text you return will be used as the title`
|
||||
}
|
||||
Reference in New Issue
Block a user