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

Function _get_locks

functions/function_calling/deep_research.py:27–30  ·  view source on GitHub ↗
(ctx: FileToolContext)

Source from the content-addressed store, hash-verified

25
26
27def _get_locks(ctx: FileToolContext) -> Tuple[Path, Path]:
28 search_lock = ctx.resolve_under_workspace(SEARCH_LOCK_FILE)
29 report_lock = ctx.resolve_under_workspace(REPORT_LOCK_FILE)
30 return search_lock, report_lock
31
32
33def _load_search_results(file_path: Path) -> Dict[str, Any]:

Callers 13

search_save_resultFunction · 0.85
search_load_allFunction · 0.85
search_load_by_urlFunction · 0.85
search_high_light_keyFunction · 0.85
report_readFunction · 0.85
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 1

Tested by

no test coverage detected