MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / _read_report_lines

Function _read_report_lines

functions/function_calling/deep_research.py:172–175  ·  view source on GitHub ↗
(file_path: Path)

Source from the content-addressed store, hash-verified

170# Report Helpers
171
172def _read_report_lines(file_path: Path) -> List[str]:
173 if not file_path.exists():
174 return []
175 return file_path.read_text(encoding="utf-8").splitlines()
176
177
178def _save_report(file_path: Path, lines: List[str]) -> None:

Callers 7

report_read_chapterFunction · 0.85
report_outlineFunction · 0.85
report_create_chapterFunction · 0.85
report_rewrite_chapterFunction · 0.85
report_continue_chapterFunction · 0.85
report_reorder_chaptersFunction · 0.85
report_del_chapterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected