From a92bef5b3344660d9bbbfc36d0091666c6ad45ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 13 Nov 2025 20:54:19 +0800 Subject: [PATCH] Update release note prompt and workflow wording MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clarified instructions in release_note_prompt.txt to use the provided version number and updated the example version. Modified auto-release.yml to specify '当前真正的版本' in the user content for improved clarity. --- .github/prompt/release_note_prompt.txt | 4 ++-- .github/workflows/auto-release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/prompt/release_note_prompt.txt b/.github/prompt/release_note_prompt.txt index 54912f66..81c9633a 100644 --- a/.github/prompt/release_note_prompt.txt +++ b/.github/prompt/release_note_prompt.txt @@ -26,9 +26,9 @@ 额外约束: - 语言简体中文,面向最终用户 -下面为真实示例,请完全参考 +下面为真实示例,请完全参考(第一行版本号必须使用用户提供的版本号,例如 v4.9.5) -# V?.?.? +# V4.9.0 [使用文档](https://napneko.github.io/) ## Windows 一键包 diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 55b135b9..1cfaa27c 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -216,13 +216,13 @@ jobs: SYSTEM_PROMPT=$(<"$PROMPT_FILE") # 构建用户内容 - USER_CONTENT="当前版本: $CURRENT_TAG\n提交列表:\n$COMMITS" + USER_CONTENT="当前真正的版本: $CURRENT_TAG\n提交列表:\n$COMMITS" # 构建请求 JSON BODY=$(jq -n \ --arg system "$SYSTEM_PROMPT" \ --arg user "$USER_CONTENT" \ - '{model: env.OPENROUTER_MODEL, messages:[{role:"system", content:$system},{role:"user", content:$user}], temperature:0.2, max_tokens:800}') + '{model: env.OPENROUTER_MODEL, messages:[{role:"system", content:$system},{role:"user", content:$user}], temperature:0.3, max_tokens:800}') echo "=== OpenRouter request body ===" echo "$BODY" | jq .