From 367b65716c9cb26ff4dd2d03836c782224a420f2 Mon Sep 17 00:00:00 2001 From: Jagger <634750802@qq.com> Date: Tue, 6 Aug 2024 11:12:23 +0800 Subject: [PATCH] fix(frontend): revert debug info --- frontend/app/src/api/system.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/frontend/app/src/api/system.ts b/frontend/app/src/api/system.ts index 3c49f29c..27a7e377 100644 --- a/frontend/app/src/api/system.ts +++ b/frontend/app/src/api/system.ts @@ -36,16 +36,7 @@ export async function getBootstrapStatus (): Promise { headers: { ...await opaqueCookieHeader(), }, - }).then(handleResponse(bootstrapStatusSchema)).then(() => ({ - required: { - datasource: false, - default_llm: false, - default_embedding_model: false, - }, - optional: { - langfuse: false, - }, - })); + }).then(handleResponse(bootstrapStatusSchema)); } export function isBootstrapStatusPassed (bootstrapStatus: BootstrapStatus): boolean {