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;