Expose AI infrastructure status
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user