mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-01 16:18:27 +00:00
feat:summary update output
This commit is contained in:
parent
8be43c5e24
commit
6253d3b429
@ -36,6 +36,7 @@ class ExtractRefineSummary(BaseChat):
|
|||||||
last_output = None
|
last_output = None
|
||||||
async for output in super().stream_call():
|
async for output in super().stream_call():
|
||||||
last_output = output
|
last_output = output
|
||||||
|
last_output = last_output.replace("\n", "\\n")
|
||||||
yield output
|
yield output
|
||||||
|
|
||||||
last_output = f"<summary>{last_output}</summary>"
|
last_output = f"<summary>{last_output}</summary>"
|
||||||
|
Loading…
Reference in New Issue
Block a user