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.

Simplify prompt

Antonio Scandurra093ce8a9ac6e
diff --git a/crates/ai/src/assistant.rs b/crates/ai/src/assistant.rs
index b70ed8c87cf..f505ea1f3fe 100644
--- a/crates/ai/src/assistant.rs
+++ b/crates/ai/src/assistant.rs
@@ -686,8 +686,9 @@ impl Assistant {
})
.chain(Some(RequestMessage {
role: Role::User,
- content: "Summarize the conversation into a short title without punctuation and with as few characters as possible"
- .into(),
+ content:
+ "Summarize the conversation into a short title without punctuation"
+ .into(),
}))
.collect();
let request = OpenAIRequest {