MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fetch_top_edges

Function fetch_top_edges

deployments/desktop/shared/agents.py:3770–3780  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3768 except OSError:
3769 return {}
3770 summaries: Dict[str, Dict[str, Any]] = {}
3771 current_topic = ""
3772 index = 0
3773 while index < len(lines):
3774 line = lines[index].strip()
3775 if line.startswith("# ") and not line.startswith("## "):
3776 current_topic = line[2:].strip()
3777 index += 1
3778 continue
3779 if current_topic and line == "## PaperFlow Summary":
3780 block: List[str] = []
3781 index += 1
3782 while index < len(lines) and not lines[index].startswith("## ") and not lines[index].startswith("# "):
3783 block.append(lines[index].strip())

Callers

nothing calls this directly

Calls 2

fetchallMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected