From 060ea1ff48e0ccbbfbc7143abde089397b44e45d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 15:20:15 +0000 Subject: [PATCH] refactor: extract ZHUYUAN_HINT constant to avoid duplication Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/691a158a-b7fe-4bc5-a476-044a280dd916 --- scripts/auto-reply-discussions.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/auto-reply-discussions.js b/scripts/auto-reply-discussions.js index a4446714..2a8dc310 100644 --- a/scripts/auto-reply-discussions.js +++ b/scripts/auto-reply-discussions.js @@ -29,6 +29,9 @@ const RATE_LIMIT_FILE = '/tmp/discussion-reply-rate.json'; // ── 签名 ── const SIGNATURE = `\n\n—— 🐙 铸渊 · HoloLake AI Guardian\n自动回复 · 如需人工帮助请 @qinfendebingshuo`; +// ── 铸渊唤醒提示 ── +const ZHUYUAN_HINT = `> 💡 **提示**:在评论中包含 \`铸渊\` 两个字即可唤醒 AI 人格体回复你。`; + // ── GraphQL 请求 ── function graphqlRequest(query, variables = {}) { return new Promise((resolve, reject) => { @@ -194,7 +197,7 @@ function generateReply(intent) { 请告诉我你需要什么帮助? -> 💡 **提示**:在评论中包含 \`铸渊\` 两个字即可唤醒我回复。`, +${ZHUYUAN_HINT}`, zhuyuan_status: `## ⚒️ 铸渊 · 状态报告 @@ -269,7 +272,7 @@ Issue 的方式可以让我们更好地跟进进展。感谢你帮助光湖变 - 🔧 技术实现细节 - 🤝 如何参与开发 -> 💡 **提示**:在评论中包含 \`铸渊\` 两个字即可唤醒 AI 人格体回复你。 +${ZHUYUAN_HINT} ⭐ 也欢迎给我们 Star 支持!`, };