'Your goal is to write a description of the changes for a dashboard to display to the user',
'You will be given human-readable diffs with most irrelevant lines filtered out',
].join('.\n');
constCHANGES_GENERATION_POSTFIX_PROMPT=[
`Respond only with the diff description, which is meant to be loaded directly into the application for the user.`,
`If there are no substantial user or migration changes, the correct description is "Minor changes only"`,
`If there are too many changes of either kind, and those changes have a message saying 'too long', the correct response for that section is "Too many changes to auto-summarize"`,
'In a diff, lines beginning with - are removed, and lines beginning with + are added.',
'Lines with neither + nor - are included for context. Be careful not to mark them as added or removed if they do not start with + or -.',
'If a line is changed, it will show a previous version removed and a new version added',
'When an entire panel is added or removed, use the panel title and only say it was added or removed and disregard the rest of the changes for that panel',
`Be sure to only include substantial migration changes, such as adding or removing entire panels, changing panel titles or descriptions, etc.\n`+
`Ignore any threshold step changes or templating list changes.\n`+
`Ignore other changes and do not include them in the summary. Do not include "Migration Changes" section if there are no substantial migration changes to report.\n`+
`If there are substantial migration changes, add "Some autogenerated changes are included to update the dashboard to the latest valid schema version" at the end.`,