fix:客服agent增加转人工

This commit is contained in:
2026-09-15 11:42:26 +08:00
parent 177a28b1de
commit 102cae6692
10 changed files with 22 additions and 100 deletions
+1 -2
View File
@@ -67,8 +67,7 @@ async def render_answer(
{"role": "user", "content": prompt},
],
temperature=0,
max_tokens=256,
)
except Exception: # noqa: BLE001 摘要失败回退固定文本
return fallback
return answer.strip() or fallback
return answer.strip() or fallback