mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
fix(editor): Don't show unnecessary callout when submitting a chat message (#23207)
This commit is contained in:
@@ -381,7 +381,7 @@ watch(
|
||||
{ immediate: true },
|
||||
);
|
||||
|
||||
function onSubmit(message: string, attachments: File[]) {
|
||||
async function onSubmit(message: string, attachments: File[]) {
|
||||
if (
|
||||
!message.trim() ||
|
||||
isResponding.value ||
|
||||
@@ -394,7 +394,7 @@ function onSubmit(message: string, attachments: File[]) {
|
||||
didSubmitInCurrentSession.value = true;
|
||||
editingMessageId.value = undefined;
|
||||
|
||||
void chatStore.sendMessage(
|
||||
await chatStore.sendMessage(
|
||||
sessionId.value,
|
||||
message,
|
||||
selectedModel.value.model,
|
||||
|
||||
Reference in New Issue
Block a user