mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 18:46:49 +00:00
assistant: Adjust title summarization prompt (#20822)
Meant to avoid the excessive use of "Here's a concise 3-7 word title..." and "Title:" instances we've been seeing lately. Follow up to: https://github.com/zed-industries/zed/pull/19530 Release Notes: - Improve prompt for generating title summaries, avoiding preambles
This commit is contained in:
parent
f01a86c644
commit
3f905d57e5
1 changed files with 1 additions and 1 deletions
|
@ -2891,7 +2891,7 @@ impl Context {
|
||||||
request.messages.push(LanguageModelRequestMessage {
|
request.messages.push(LanguageModelRequestMessage {
|
||||||
role: Role::User,
|
role: Role::User,
|
||||||
content: vec![
|
content: vec![
|
||||||
"Generate a concise 3-7 word title for this conversation, omitting punctuation"
|
"Generate a concise 3-7 word title for this conversation, omitting punctuation. Go straight to the title, without any preamble and prefix like `Here's a concise suggestion:...` or `Title:`"
|
||||||
.into(),
|
.into(),
|
||||||
],
|
],
|
||||||
cache: false,
|
cache: false,
|
||||||
|
|
Loading…
Reference in a new issue