mrh 1 жил өмнө
parent
commit
195566f322
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      src/App.vue

+ 2 - 2
src/App.vue

@@ -139,9 +139,9 @@ const onSubmit = (e: any, answer = undefined) => {
       behavior: 'smooth',
     });
   });
-  getAIAnswer(answer ?? e);
+  getAIAnswer();
 };
-const getAIAnswer = async (content: string) => {
+const getAIAnswer = async () => {
   const newMessage = {
     from: 'ai-model',
     content: '',