From bf1fc1d46bdb15456f237b9307f3157a0c9f5205 Mon Sep 17 00:00:00 2001 From: Yoshiki Miura Date: Sat, 6 Apr 2024 15:15:16 +0900 Subject: [PATCH] Remove console.log statements in action.tsx --- app/action.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/action.tsx b/app/action.tsx index 9428c37b..ef187d9c 100644 --- a/app/action.tsx +++ b/app/action.tsx @@ -31,7 +31,6 @@ async function submit(formData?: FormData, skip?: boolean) { // Add the user message to the state if (content) { const message = { role: 'user', content } - console.log('Message content', content, aiState.get()) messages.push(message as ExperimentalMessage) aiState.update([...(aiState.get() as any), message]) } @@ -42,7 +41,6 @@ async function submit(formData?: FormData, skip?: boolean) { let action: any = { object: { next: 'proceed' } } // If the user skips the task, we proceed to the search if (!skip) action = await taskManager(messages) - console.log('Next Action: ', action) if (action.object.next === 'inquire') { // Generate inquiry