Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: move v1health to async [LET-6125] (#6086)

Shubham Naikeb0e03d7bbb1
diff --git a/letta/server/rest_api/routers/v1/health.py b/letta/server/rest_api/routers/v1/health.py
index ff169268c..6eaed0e58 100644
--- a/letta/server/rest_api/routers/v1/health.py
+++ b/letta/server/rest_api/routers/v1/health.py
@@ -11,9 +11,9 @@ if TYPE_CHECKING:
router = APIRouter(prefix="/health", tags=["health"])
-# Health check
@router.get("/", response_model=Health, operation_id="check_health")
-def check_health():
+async def check_health():
+ """Async health check endpoint."""
return Health(
version=__version__,
status="ok",