wzg hace 5 meses
padre
commit
69ce3ae401
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/entrypoints/sidepanel/Chat.vue

+ 1 - 1
src/entrypoints/sidepanel/Chat.vue

@@ -341,7 +341,7 @@ async function handleAsk() {
   const str = inputMessage.value.trim()
   inputMessage.value = ''
   if (sendLoading.value) return
-  addMessage(inputMessage.value.trim())
+  await addMessage(str)
   if (type.value === FunctionList.Intelligent_Form_filling) {
     const res = await fetchRes(str)
     console.log(res);