From 90a8d0b968462120587c05171c80c83b5f2f0faa Mon Sep 17 00:00:00 2001 From: shanexi Date: Tue, 14 Jan 2025 16:54:00 +0800 Subject: [PATCH] fix: fix x_bot --- web/apps/web/src/components/chat/app-builder-chat.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/apps/web/src/components/chat/app-builder-chat.model.ts b/web/apps/web/src/components/chat/app-builder-chat.model.ts index 5d62bba0..2932b9e9 100644 --- a/web/apps/web/src/components/chat/app-builder-chat.model.ts +++ b/web/apps/web/src/components/chat/app-builder-chat.model.ts @@ -140,7 +140,7 @@ export class AppBuilderChatModel { runInAction(() => { this.isInitBotLoading = true; }); - if (this.appBuilderModelFactory().metadata.app_type) { + if (this.appBuilderModelFactory().metadata.app_type === 'x_bot') { try { const res = await convertXBotSvc({ automata }); automata = res.automata;