MusaR commited on
Commit
3ab3a74
·
verified ·
1 Parent(s): 696ad4d

Update research_agent/agent.py

Browse files
Files changed (1) hide show
  1. research_agent/agent.py +1 -1
research_agent/agent.py CHANGED
@@ -149,4 +149,4 @@ def write_report_stream(config: AgentConfig, writer_model, tavily_client, embedd
149
  final_bibliography = "\n".join(f"- {url}" for url in sorted(list(report_state["all_source_urls"])))
150
  report_state["full_report_text"] += f"## Master Bibliography\n\n{final_bibliography}"
151
 
152
- return report_state["full_report_text"]
 
149
  final_bibliography = "\n".join(f"- {url}" for url in sorted(list(report_state["all_source_urls"])))
150
  report_state["full_report_text"] += f"## Master Bibliography\n\n{final_bibliography}"
151
 
152
+ yield report_state["full_report_text"]