Skip to content

Commit df8628a

Browse files
committed
fix(release/auto-changelog): stop false left-out warnings and warn when the baseline restore drops entries
Count the earlier release changelog PR before warning about left-out PRs, warn when restoring from the baseline drops entries the release branch lists, refresh stale generated warnings on a kept PR body, and use the gpt-6.1-terra proofreader model.
1 parent 93edec1 commit df8628a

5 files changed

Lines changed: 691 additions & 8 deletions

File tree

‎.github/scripts/clean-release-changelog.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { getEnvironmentWithoutAiKey } from './shared/environment.mts';
1717
import { writeReport } from './shared/report.mts';
1818
import { retry } from './shared/retry.mts';
1919

20-
const MODEL = 'gpt-5.6-terra';
20+
const MODEL = 'gpt-6.1-terra';
2121
const DEFAULT_BASE_URL = 'https://litellm.consensys.info';
2222
const DEFAULT_TIMEOUT_MS = 90_000;
2323
const MAX_ATTEMPTS = 2;

‎.github/scripts/tests/clean-release-changelog.test.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ test('sends the pinned model with the bearer credential to chat completions', as
656656
temperature: number;
657657
messages: { content: string }[];
658658
};
659-
assert.equal(body.model, 'gpt-5.6-terra');
659+
assert.equal(body.model, 'gpt-6.1-terra');
660660
assert.equal(body.temperature, 0);
661661
assert.match(body.messages[1]?.content ?? '', /<release_section>/u);
662662
assert.doesNotMatch(JSON.stringify(body), /litellm-key/u);

0 commit comments

Comments
 (0)