Refine AI context summary prompt (#19530)

Release Notes:

- Improved prompt for generating context editor summaries.
This commit is contained in:
Adam Wolff
2024-10-22 11:02:04 -04:00
committed by GitHub
parent 270e13bb9a
commit 680b3dd80b
+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,
});