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
This commit is contained in:
copilot-swe-agent[bot] 2026-03-24 15:20:15 +00:00
parent 8884bba3f3
commit 060ea1ff48
1 changed files with 5 additions and 2 deletions

View File

@ -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 支持`,
};