Skip to content

Commit 8dab6ae

Browse files
authored
better llm generated title prompt (#279860)
1 parent b10b0bb commit 8dab6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatContentParts/chatThinkingContentPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export class ChatThinkingContentPart extends ChatCollapsibleContentPart implemen
330330
context = this.currentThinkingValue.substring(0, 1000);
331331
}
332332

333-
const prompt = `Generate a very concise header for thinking that contains the following thoughts: ${context}. Respond with only the header text, no quotes or punctuation.`;
333+
const prompt = `Summarize the following in 6-7 words: ${context}. Respond with only the summary, no quotes or punctuation. Make sure to use past tense.`;
334334

335335
const response = await this.languageModelsService.sendChatRequest(
336336
models[0],

0 commit comments

Comments
 (0)