Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

feat(rnd): Add k8s default health check (#8037)

Aarushif5b89672f870
diff --git a/rnd/market/market/app.py b/rnd/market/market/app.py
index a6fa4752c5..b03071ab90 100644
--- a/rnd/market/market/app.py
+++ b/rnd/market/market/app.py
@@ -87,5 +87,11 @@ def health():
content="<h1>Marketplace API</h1>", status_code=200
)
+def default():
+ return fastapi.responses.HTMLResponse(
+ content="<h1>Marketplace API</h1>", status_code=200
+ )
+
prometheus_fastapi_instrumentator.Instrumentator().instrument(app).expose(app)