diff --git a/.github/workflows/auto-release-generator.yml b/.github/workflows/auto-release-generator.yml index 4473647..98b8a28 100644 --- a/.github/workflows/auto-release-generator.yml +++ b/.github/workflows/auto-release-generator.yml @@ -122,11 +122,12 @@ jobs: model="deepseek-ai/DeepSeek-V3", messages=[ {"role": "system", "content": "你是一个专业的软件发布说明生成助手。请根据提供的git提交信息,生成一个结构化的发布说明,包括新功能、改进、修复的bug等类别。使用中文回复。"}, - {"role": "user", "content": f"请根据以下git提交信息,生成一个版本{version}的发布说明,内容要言简意赅,相似的提交信息不要重复出现: \n\n{commits}"} + {"role": "user", "content": f"请根据以下git提交信息,生成一个版本{version}的发布说明,内容详细且完整,相似的提交信息不要重复出现: \n\n{commits}"} ], temperature=0.7, ) release_notes = response.choices[0].message.content + print(f"大模型总结的发布说明: \n{release_notes}") except Exception as e: print(f"Error calling OpenAI API: {e}") release_notes = f"# 版本 {version} 发布\n\n## 更新内容\n\n" diff --git a/.github/workflows/discord-release-notification.yml b/.github/workflows/discord-release-notification.yml index d236780..46b76a9 100644 --- a/.github/workflows/discord-release-notification.yml +++ b/.github/workflows/discord-release-notification.yml @@ -81,6 +81,7 @@ jobs: temperature=0.7, ) enhanced_notes = response.choices[0].message.content + print(f"大模型润色后的发布说明: \n{enhanced_notes}") except Exception as e: print(f"Error calling OpenAI API: {e}") enhanced_notes = release_notes # 如果API调用失败,使用原始发布说明 diff --git a/project_version b/project_version index b5a6781..9ee8428 100644 --- a/project_version +++ b/project_version @@ -1 +1 @@ -0.6.2.3 \ No newline at end of file +0.6.2.4 \ No newline at end of file