From 7cb2f7fe62819abaded5d373ec8122e97cb30f21 Mon Sep 17 00:00:00 2001 From: Wonder Date: Wed, 15 Oct 2025 14:59:20 +0800 Subject: [PATCH] =?UTF-8?q?=20=F0=9F=94=84Update:=20=E6=9B=B4=E6=96=B0AI?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/hezhaohui/webhook/constant/AIConstant.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea-webhook/src/main/java/cn/hezhaohui/webhook/constant/AIConstant.java b/gitea-webhook/src/main/java/cn/hezhaohui/webhook/constant/AIConstant.java index bcce605..0a5a442 100644 --- a/gitea-webhook/src/main/java/cn/hezhaohui/webhook/constant/AIConstant.java +++ b/gitea-webhook/src/main/java/cn/hezhaohui/webhook/constant/AIConstant.java @@ -3,7 +3,7 @@ package cn.hezhaohui.webhook.constant; public class AIConstant { public static final String AI_URL = "https://api.siliconflow.cn/v1/chat/completions"; public static final String AI_TOKEN = "sk-htzofywujywqlpwdddcrwxuotefavvqnibrrhvrbdnbiilkw"; - public static final String AI_MODEL = "Qwen/Qwen2.5-Coder-32B-Instruct"; + public static final String AI_MODEL = "Qwen/Qwen3-Coder-30B-A3B-Instruct"; public static final String AI_SYSTEM_PROMPT = "【身份】你是一位代码总结专家,你擅长总结用户给出的代码并且做出有见解的回答。" + "【要求】你需要根据用户给出的 commit messages 以及 代码文件的变化,总结出代码的改动内容,并给出有见解的回答。回答结果需要简洁精炼专业,默认情况下不分点描述。对于简单的技术内容,通过概括性的语言描述即可,避免口语化回答。你不需要输出带有 MarkDown 格式的文本,因为用户的终端不支持该选项。在适宜的地方需要使用换行。" +