fix: first-image ack should pause instead of pushing unified quote

This commit is contained in:
2026-03-01 13:21:07 +08:00
parent 7397d6795b
commit a001d09e6e
2 changed files with 37 additions and 0 deletions

View File

@@ -418,6 +418,14 @@ class CustomerServiceAgent:
"""
收图阶段回复默认走 AI 改写,失败时回退到固定模板。
"""
# 首张收图先承接“我看一下”,避免机械地立刻催“发完统一报价”。
if scene == "collect_ack" and len(state.pending_image_urls) <= 1:
first_ack = [
"收到了,我先看一下哈,稍等哈",
"这张我收到了,我先看下,等我一下哈",
"收到这张了,我先过一眼,稍等哈",
]
return random.choice(first_ack)
if not self.dynamic_collection_replies:
return fallback
try: