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.

Refine AI context summary prompt (#19530)

Adam Wolff680b3dd80bf9
diff --git a/crates/assistant/src/context.rs b/crates/assistant/src/context.rs
index 2818411d0d3..d337606dfa3 100644
--- a/crates/assistant/src/context.rs
+++ b/crates/assistant/src/context.rs
@@ -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,
});