feat:删除多余代码

This commit is contained in:
2026-10-01 07:32:02 -07:00
parent 071228c5f8
commit dd2fd8bcde
14 changed files with 25 additions and 833 deletions
+3 -3
View File
@@ -13,9 +13,9 @@ def build_offer_question() -> ChoiceDecision:
),
criteria={
# 同意执行提议,包括简短的肯定回答
"accept": "Agrees to perform exactly the offered edit, e.g. 好的, 需要, 要, 可以, 行, 嗯, yes",
"accept": "Agrees to perform exactly the offered edit, e.g. Okay, need, want, can, alright, mm-hmm, yes",
# 拒绝提议
"decline": "Declines the offer or says it is not needed, e.g. 不用了, 算了, no",
"decline": "Declines the offer or says it is not needed, e.g. No, never mind, no",
# 提出新的或修改过的请求、提问,或与提议无关
"other": "Asks something else, requests a different or changed edit, or does not respond to the offer",
},
@@ -46,6 +46,6 @@ def build_intent_question() -> ChoiceDecision:
# 明确的文字回答或交流请求,包括助手身份和能力,但没有要求实际操作大屏
"qa": "Clearly request a textual answer or general conversation without requesting screen creation or an actual edit; includes assistant identity and capabilities, information, reasons, diagnosis, and suggestions, e.g. Why is there no data in this chart or How to optimize this graph; also includes brief acknowledgments, thanks, greetings and farewells that need only a short reply, e.g. ok, Okay, thank you",
# 语义上没有明确表达要问什么或做什么,不等同于模型分数低
"unclear": "The user's desired response or action is still undetermined after incorporating the latest answer and selected option; vague feedback such as 这个图不太对 is unclear only while subsequent answers have not resolved what to do",
"unclear": "The user's desired response or action is still undetermined after incorporating the latest answer and selected option; vague feedback such as 'This figure doesn't look quite right' is unclear only while subsequent answers have not resolved what to do",
},
)