Expose AI infrastructure status
All checks were successful
CI / test (push) Successful in 16s
Build and Deploy / build-and-deploy (push) Successful in 23s

This commit is contained in:
Grendgi
2026-06-08 16:35:08 +03:00
parent 04e463d03f
commit c9435612ec
5 changed files with 85 additions and 12 deletions

View File

@@ -67,6 +67,8 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
s.handleStats(w, r)
case r.Method == http.MethodGet && path == "/api/v1/providers/status":
s.handleProviderStatus(w, r)
case r.Method == http.MethodGet && path == "/api/v1/infra/status":
s.handleInfraStatus(w, r)
default:
writeError(w, http.StatusNotFound, "not found")
}