docs: sync §25 design doc help_keywords with actual code
CI / lint (pull_request) Successful in 6s
CI / test (pull_request) Successful in 8s
CI / notify-on-failure (pull_request) Successful in 1s

This commit is contained in:
cfdaily
2026-06-12 19:09:23 +08:00
parent 88a2409e67
commit 387fa3214f
+2 -2
View File
@@ -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"