feat: 新增需求理解并实现human in loop

This commit is contained in:
2026-09-23 11:20:02 +08:00
parent 006112600a
commit dd7138598d
11 changed files with 167 additions and 35 deletions
+1
View File
@@ -8,6 +8,7 @@ def build_intent_question() -> ChoiceDecision:
# 区分意图模糊与修改细节缺失,后者交给需求理解
instructions=(
"Classify the user's primary intent. "
"Read `prompt` together with `clarification_history`; later answers clarify or correct earlier requests. "
"Choose modify_screen only when the user explicitly requests an actual edit. "
"Choose qa only for an explicit request for information, explanation, diagnosis, or advice. "
"A vague complaint or evaluation without a requested next step is unclear, not automatically qa. "