Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
fix(server): drop unused get_dependency_path chat summary (#1425)
Felix-Ayushe59cb203373b
diff --git a/packages/server/src/repowise/server/routers/chat.py b/packages/server/src/repowise/server/routers/chat.pyindex f14fab5b4..c259085bf 100644--- a/packages/server/src/repowise/server/routers/chat.py+++ b/packages/server/src/repowise/server/routers/chat.py@@ -564,18 +564,6 @@ def _build_tool_summary(tool_name: str, result: dict[str, Any]) -> str:results = result.get("results", [])return f"Found {len(results)} result(s)"- if tool_name == "get_dependency_path":- dist = result.get("distance", -1)- if dist >= 0:- return f"Path found (distance: {dist})"- ctx = result.get("visual_context", {})- ancestors = ctx.get("nearest_common_ancestors", [])- if ancestors:- return f"No direct path — nearest bridge: {ancestors[0]['node']}"- if ctx.get("disconnected"):- return "No path — nodes are in separate dependency clusters"- return "No direct path found"-if tool_name == "get_dead_code":summary = result.get("summary", {})tiers = result.get("tiers", {})