feat:优化流式输出,增加临时多轮对话记录

This commit is contained in:
2026-09-29 09:55:17 -07:00
parent 6a38a5f15e
commit a89a458c22
10 changed files with 153 additions and 23 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ def build_intent_question() -> ChoiceDecision:
instructions=(
"Classify the user's primary intent. "
"Classify the latest user answer in `clarification_history`, or `prompt` when there is no history. "
"Use earlier turns and the selected option to resolve references; the latest answer overrides earlier conflicting intent. "
"Use earlier turns, `history` (previous turns of this conversation) and the selected option to resolve references; the latest answer overrides earlier conflicting intent. "
"Once the requested action or response is clear, earlier ambiguity does not require another confirmation. "
"Choose modify_screen only when the user explicitly requests an actual edit. "
"Choose qa for clear requests for a textual answer or general conversation, including information, explanation, diagnosis, advice, and assistant identity or capabilities. "