fix(editor): Update gird size when opening credentials support chat (#10882)
This commit is contained in:
committed by
GitHub
parent
aa6cfa07ef
commit
b86fd80fc9
@@ -356,9 +356,9 @@ export const useAssistantStore = defineStore(STORES.ASSISTANT, () => {
|
|||||||
resetAssistantChat();
|
resetAssistantChat();
|
||||||
chatSessionTask.value = credentialType ? 'credentials' : 'support';
|
chatSessionTask.value = credentialType ? 'credentials' : 'support';
|
||||||
chatSessionCredType.value = credentialType;
|
chatSessionCredType.value = credentialType;
|
||||||
chatWindowOpen.value = true;
|
|
||||||
addUserMessage(userMessage, id);
|
addUserMessage(userMessage, id);
|
||||||
addLoadingAssistantMessage(locale.baseText('aiAssistant.thinkingSteps.thinking'));
|
addLoadingAssistantMessage(locale.baseText('aiAssistant.thinkingSteps.thinking'));
|
||||||
|
openChat();
|
||||||
streaming.value = true;
|
streaming.value = true;
|
||||||
|
|
||||||
let payload: ChatRequest.InitSupportChat | ChatRequest.InitCredHelp = {
|
let payload: ChatRequest.InitSupportChat | ChatRequest.InitCredHelp = {
|
||||||
|
|||||||
Reference in New Issue
Block a user