Skip to content

Commit c9cee66

Browse files
committed
Update release notes generator
1 parent fc03706 commit c9cee66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/get-release-notes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async function main() {
7171
let summary = "";
7272
try {
7373
const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });
74-
const prompt = `Summarize the following release notes for a GitHub release. Focus on user-facing changes and improvements. There's no need to provide justification on why something was done unless the user specifies it.\n\n${allMessages.join(
74+
const prompt = `Summarize the following release notes for a GitHub release. Focus on user-facing changes and improvements. AVOID listing reasons for changes unless you are explicitly quoting a commit message. Do not say stuff like "ensuring a smoother user experience."\n\n${allMessages.join(
7575
"\n"
7676
)}`;
7777
const completion = await openai.chat.completions.create({

0 commit comments

Comments
 (0)