From d7a5e452328bfe819981f277e8966df5a553403f Mon Sep 17 00:00:00 2001 From: Sandra Guerreiro Date: Fri, 13 Feb 2026 14:57:03 +0100 Subject: [PATCH 1/2] error --- src/stores/chat.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stores/chat.ts b/src/stores/chat.ts index b1b4776..7ce4d09 100644 --- a/src/stores/chat.ts +++ b/src/stores/chat.ts @@ -150,6 +150,10 @@ export const useChatStore = defineStore('chat', () => { } async function getNewQuestions(userMsg: string) { + if (userMsg + 2 === 3) { + console.log(userMsg); + } + const newQuestions: AxiosResponse<{ NEW_QUESTIONS: string[] }> = await postAxios( '/qna/reformulate/questions', { From 5361ce1a8c5cf07cc719aece6c90423338ed5ac8 Mon Sep 17 00:00:00 2001 From: Sandra Guerreiro Date: Fri, 13 Feb 2026 15:01:31 +0100 Subject: [PATCH 2/2] text errors --- src/stores/chat.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stores/chat.ts b/src/stores/chat.ts index 7ce4d09..07a57c1 100644 --- a/src/stores/chat.ts +++ b/src/stores/chat.ts @@ -150,8 +150,10 @@ export const useChatStore = defineStore('chat', () => { } async function getNewQuestions(userMsg: string) { + // userMsg is a string if (userMsg + 2 === 3) { console.log(userMsg); + console.log('This is a test lig to chack if the getNewQuestions function is being called.'); } const newQuestions: AxiosResponse<{ NEW_QUESTIONS: string[] }> = await postAxios(