Refine AI context summary prompt (#19530)

Release Notes:

- Improved prompt for generating context editor summaries.
This commit is contained in:
Adam Wolff authored and GitHub committed 2024-10-22 11:02:04 -04:00
1 parent 63777ace94
commit 16d191c4d9
1 file changed
+2 -1
+2 -1
View File
@@ -2487,7 +2487,8 @@ impl Context {
request.messages.push(LanguageModelRequestMessage {
role: Role::User,
content: vec![
"Summarize the context into a short title without punctuation.".into(),
"Generate a concise 3-7 word title for this conversation, omitting punctuation"
.into(),
],
cache: false,
});