mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-05-01 14:33:10 +03:00
@@ -972,8 +972,9 @@ def run_analysis():
|
|||||||
content = obj.report_sections[section_name]
|
content = obj.report_sections[section_name]
|
||||||
if content:
|
if content:
|
||||||
file_name = f"{section_name}.md"
|
file_name = f"{section_name}.md"
|
||||||
|
text = "\n".join(str(item) for item in content) if isinstance(content, list) else content
|
||||||
with open(report_dir / file_name, "w", encoding="utf-8") as f:
|
with open(report_dir / file_name, "w", encoding="utf-8") as f:
|
||||||
f.write(content)
|
f.write(text)
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
message_buffer.add_message = save_message_decorator(message_buffer, "add_message")
|
message_buffer.add_message = save_message_decorator(message_buffer, "add_message")
|
||||||
|
|||||||
Reference in New Issue
Block a user