Simplify prompt

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2023-06-06 17:45:58 +02:00
parent 2b1aeb07bc
commit 093ce8a9ac

View file

@ -686,8 +686,9 @@ impl Assistant {
}) })
.chain(Some(RequestMessage { .chain(Some(RequestMessage {
role: Role::User, role: Role::User,
content: "Summarize the conversation into a short title without punctuation and with as few characters as possible" content:
.into(), "Summarize the conversation into a short title without punctuation"
.into(),
})) }))
.collect(); .collect();
let request = OpenAIRequest { let request = OpenAIRequest {