去掉MCP框架,重构

This commit is contained in:
lixinyue
2026-01-14 18:29:33 +08:00
parent 92b144d7f5
commit 0b685b136f
62 changed files with 3263 additions and 4421 deletions

View File

@@ -8,11 +8,12 @@ Reference:
import logging
import html
from typing import Any, cast
from graspologic.partition import hierarchical_leiden
from graspologic.utils import largest_connected_component
# from graspologic.partition import hierarchical_leiden
# from graspologic.utils import largest_connected_component
import networkx as nx
from networkx import is_empty
hierarchical_leiden=''
largest_connected_component=''
def _stabilize_graph(graph: nx.Graph) -> nx.Graph:
"""Ensure an undirected graph with the same relationships will always be read the same way."""