Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix(storage): remove unnecessary async from root and health endpoints (#2126)

xiejianqiao1105efde8d58
diff --git a/openviking/storage/vectordb/service/server_fastapi.py b/openviking/storage/vectordb/service/server_fastapi.py
index ffddcab86..1ccec39d4 100644
--- a/openviking/storage/vectordb/service/server_fastapi.py
+++ b/openviking/storage/vectordb/service/server_fastapi.py
@@ -115,7 +115,7 @@ app.include_router(api_fastapi.search_router)
@app.get("/")
-async def root() -> Dict[str, str]:
+def root() -> Dict[str, str]:
"""Root endpoint providing basic server information.
Returns:
@@ -125,7 +125,7 @@ async def root() -> Dict[str, str]:
@app.get("/health")
-async def health() -> Dict[str, Any]:
+def health() -> Dict[str, Any]:
"""Health check endpoint for monitoring server status.
Returns: