Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

assistant: Adjust title summarization prompt (#20822)

Danilo Leal3f905d57e5f7
diff --git a/crates/assistant/src/context.rs b/crates/assistant/src/context.rs
index 807d03ea5fb..d6f0a488682 100644
--- a/crates/assistant/src/context.rs
+++ b/crates/assistant/src/context.rs
@@ -2891,7 +2891,7 @@ impl Context {
request.messages.push(LanguageModelRequestMessage {
role: Role::User,
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(),
],
cache: false,