fix path
This commit is contained in:
+1
-2
@@ -3024,7 +3024,6 @@ def find_brace_block_end(lines: List[str], start_idx: int) -> Optional[int]:
|
|||||||
# MCP Tools
|
# MCP Tools
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
@mcp.tool()
|
@mcp.tool()
|
||||||
@mcp.tool()
|
|
||||||
def health_check() -> str:
|
def health_check() -> str:
|
||||||
"""What it does - Quick JSON status of the RAG server (ready, indexed path, chunk count, age, graph stats).
|
"""What it does - Quick JSON status of the RAG server (ready, indexed path, chunk count, age, graph stats).
|
||||||
When to use - Before any other query, to confirm the index is current and see codebase structure.
|
When to use - Before any other query, to confirm the index is current and see codebase structure.
|
||||||
@@ -3045,7 +3044,7 @@ Example - health_check() → { "status":"ready","total_chunks":11234,"graph_node
|
|||||||
repo_info = "Git repository (no branch info)"
|
repo_info = "Git repository (no branch info)"
|
||||||
|
|
||||||
# Load graph to check if it exists
|
# Load graph to check if it exists
|
||||||
graph = LocalGraph(CODEBASE_PATH)
|
graph = LocalGraph(str(CODEBASE_PATH))
|
||||||
graph_loaded = graph.load()
|
graph_loaded = graph.load()
|
||||||
|
|
||||||
status = {
|
status = {
|
||||||
|
|||||||
Reference in New Issue
Block a user