We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85524e0 + c2e6250 commit 08d8891Copy full SHA for 08d8891
1 file changed
agents/matmaster_agent/flow_agents/agent.py
@@ -590,13 +590,8 @@ async def _run_plan_execute_and_summary_agent(
590
# Collect report Markdown
591
report_markdown = ''
592
async for report_event in self.report_agent.run_async(ctx):
593
- current_text = is_text(report_event)
594
- if not current_text:
595
- continue
596
-
597
- report_markdown = current_text
598
- if not report_event.partial:
599
- break
+ if (cur_text := is_text(report_event)) and not report_event.partial:
+ report_markdown += cur_text
600
601
# matmaster_report_md.md
602
upload_result = await upload_report_md_to_oss(
0 commit comments