Fix indenting
This commit is contained in:
@@ -3007,6 +3007,7 @@ 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.
|
||||||
@@ -3026,6 +3027,10 @@ try:
|
|||||||
except:
|
except:
|
||||||
repo_info = "Git repository (no branch info)"
|
repo_info = "Git repository (no branch info)"
|
||||||
|
|
||||||
|
# Load graph to check if it exists
|
||||||
|
graph = LocalGraph(CODEBASE_PATH)
|
||||||
|
graph_loaded = graph.load()
|
||||||
|
|
||||||
status = {
|
status = {
|
||||||
"status": "ready" if vectorstore is not None else "no_index",
|
"status": "ready" if vectorstore is not None else "no_index",
|
||||||
"working_repository": str(CODEBASE_PATH),
|
"working_repository": str(CODEBASE_PATH),
|
||||||
|
|||||||
Reference in New Issue
Block a user