From 70a091364f1f7144826f02fdb416cddaaa21d34b Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Fri, 18 Aug 2023 11:28:27 +0800 Subject: [PATCH] fix:add sqlite db type --- pilot/openapi/api_v1/api_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pilot/openapi/api_v1/api_v1.py b/pilot/openapi/api_v1/api_v1.py index aa63df27f..7fedd5e11 100644 --- a/pilot/openapi/api_v1/api_v1.py +++ b/pilot/openapi/api_v1/api_v1.py @@ -118,7 +118,7 @@ async def db_connect_delete(db_name: str = None): @router.get("/v1/chat/db/support/type", response_model=Result[DbTypeInfo]) async def db_support_types(): - support_types = [DBType.Mysql, DBType.MSSQL, DBType.DuckDb] + support_types = [DBType.Mysql, DBType.MSSQL, DBType.DuckDb, DBType.SQLite] db_type_infos = [] for type in support_types: db_type_infos.append(