From 216d0c7c6b60474298394044b9114074b8f131cf Mon Sep 17 00:00:00 2001 From: mitsukina Date: Sun, 19 Jul 2026 21:06:50 +0800 Subject: [PATCH] Update release note prompt and AI model Clarifies the release note prompt to require strict output format without wrapping the result in a code block. Also updates the release publish workflow to use `google/gemma-4-26b-a4b-it:free` instead of the previous OpenAI model endpoint setting. --- .github/prompt/release_note_prompt.txt | 2 +- .github/workflows/release-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/prompt/release_note_prompt.txt b/.github/prompt/release_note_prompt.txt index 1fc008273..5482a2658 100644 --- a/.github/prompt/release_note_prompt.txt +++ b/.github/prompt/release_note_prompt.txt @@ -24,7 +24,7 @@ - **控制数量**:最终保持 5-15 条更新要点 - **保留 commit hash**:每条末尾附上短 hash,格式 `(a1b2c3d)` -## 输出模板 - 必须严格遵守以下格式 +## 输出模板 - 必须严格遵守以下格式,不要使用代码区域包裹 ``` # {VERSION} diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 5eaf84d3f..c75ae8b95 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -12,7 +12,7 @@ permissions: write-all env: OPENAI_API_URL: https://openrouter.ai/api/v1/chat/completions - OPENAI_MODEL: "z-ai/glm-4.5-air:free" + OPENAI_MODEL: "google/gemma-4-26b-a4b-it:free" RELEASE_NAME: "NapCat" jobs: