From 6253d3b429945eb1ebd2c0d8d083752a00f3de63 Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Wed, 15 Nov 2023 14:17:11 +0800 Subject: [PATCH] feat:summary update output --- pilot/scene/chat_knowledge/refine_summary/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pilot/scene/chat_knowledge/refine_summary/chat.py b/pilot/scene/chat_knowledge/refine_summary/chat.py index 47c8167b1..3f07ebb5d 100644 --- a/pilot/scene/chat_knowledge/refine_summary/chat.py +++ b/pilot/scene/chat_knowledge/refine_summary/chat.py @@ -36,6 +36,7 @@ class ExtractRefineSummary(BaseChat): last_output = None async for output in super().stream_call(): last_output = output + last_output = last_output.replace("\n", "\\n") yield output last_output = f"{last_output}"