Support server health check by http://localhost:<port>/v1/system/healthz (#10150)

### What problem does this PR solve?

Support server health check. Solved issue: #10106

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Billy Bao
2025-09-19 11:11:07 +08:00
committed by GitHub
parent a04c5247ab
commit a24547aa66
5 changed files with 153 additions and 122 deletions

View File

@ -37,7 +37,7 @@ from timeit import default_timer as timer
from rag.utils.redis_conn import REDIS_CONN
from flask import jsonify
from api.utils.health import run_health_checks
from api.utils.health_utils import run_health_checks
@manager.route("/version", methods=["GET"]) # noqa: F821
@login_required