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}"