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 08:02:04 -07:00 committed by GitHub
parent 270e13bb9a
commit 680b3dd80b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,
});