diff --git a/packages/editor-ui/src/stores/assistant.store.ts b/packages/editor-ui/src/stores/assistant.store.ts index 0ac0346e9c5ab..cfa25e1141ec3 100644 --- a/packages/editor-ui/src/stores/assistant.store.ts +++ b/packages/editor-ui/src/stores/assistant.store.ts @@ -356,9 +356,9 @@ export const useAssistantStore = defineStore(STORES.ASSISTANT, () => { resetAssistantChat(); chatSessionTask.value = credentialType ? 'credentials' : 'support'; chatSessionCredType.value = credentialType; - chatWindowOpen.value = true; addUserMessage(userMessage, id); addLoadingAssistantMessage(locale.baseText('aiAssistant.thinkingSteps.thinking')); + openChat(); streaming.value = true; let payload: ChatRequest.InitSupportChat | ChatRequest.InitCredHelp = {