Skip to content

Commit

Permalink
fix: fix x_bot
Browse files Browse the repository at this point in the history
  • Loading branch information
shanexi committed Jan 14, 2025
1 parent 6a51a7c commit 90a8d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/apps/web/src/components/chat/app-builder-chat.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 90a8d0b

Please sign in to comment.