From 58f0fcab57a0060451fefccbc330c57858e64386 Mon Sep 17 00:00:00 2001 From: Andriy Mulyar Date: Thu, 20 Jul 2023 21:23:29 -0400 Subject: [PATCH] Added health endpoint Signed-off-by: Andriy Mulyar --- gpt4all-api/gpt4all_api/app/api_v1/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpt4all-api/gpt4all_api/app/api_v1/api.py b/gpt4all-api/gpt4all_api/app/api_v1/api.py index ab6f0dde..e68af796 100644 --- a/gpt4all-api/gpt4all_api/app/api_v1/api.py +++ b/gpt4all-api/gpt4all_api/app/api_v1/api.py @@ -1,4 +1,4 @@ -from api_v1.routes import chat, completions, engines +from api_v1.routes import chat, completions, engines, health from fastapi import APIRouter router = APIRouter() @@ -6,3 +6,4 @@ router = APIRouter() router.include_router(chat.router) router.include_router(completions.router) router.include_router(engines.router) +router.include_router(health.router)