From 387fa3214fba73b151f7fd7f587939ee367f6cf8 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Fri, 12 Jun 2026 19:09:23 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20sync=20=C2=A725=20design=20doc=20help?= =?UTF-8?q?=5Fkeywords=20with=20actual=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/design/25-gitea-mention-toolchain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/design/25-gitea-mention-toolchain.md b/docs/design/25-gitea-mention-toolchain.md index 22032bb..3af474b 100644 --- a/docs/design/25-gitea-mention-toolchain.md +++ b/docs/design/25-gitea-mention-toolchain.md @@ -341,8 +341,8 @@ def infer_intent(body: str, context: str = "") -> str: if any(kw in body for kw in assign_keywords): return "assign" - # 求助关键词 - help_keywords = ["怎么", "如何", "?", "?", "什么", "哪个", "能否", "帮忙"] + # 求助关键词("帮忙"已由 assign_keywords 的"帮忙做"覆盖,"请帮忙"由 collab_keywords 覆盖) + help_keywords = ["怎么", "如何", "?", "?", "什么", "哪个", "能否"] if any(kw in body for kw in help_keywords): return "help"