fix(editor): Don't show unnecessary callout when submitting a chat message (#23207)

This commit is contained in:
Suguru Inoue
2025-12-15 13:11:21 +01:00
committed by GitHub
parent 342c851499
commit be29a4c230
@@ -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,