From 4a70a4fbaf852c4884d43ea99d8c6ece6564c054 Mon Sep 17 00:00:00 2001 From: fatwang2 Date: Wed, 24 Apr 2024 03:19:59 +0800 Subject: [PATCH] reduce the logs --- search2groq.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/search2groq.js b/search2groq.js index c8f4c3d..a2c5509 100644 --- a/search2groq.js +++ b/search2groq.js @@ -431,7 +431,6 @@ messages, }); - console.log("Second request body:", secondRequestBody); const secondResponse = await fetch(fetchAPI, { method: "POST", headers: request_header, @@ -657,10 +656,7 @@ console.log( "\u51C6\u5907\u53D1\u9001\u7B2C\u4E8C\u6B21 OpenAI API \u8BF7\u6C42" ); - console.log( - "Messages before sending second request:", - JSON.stringify(messages, null, 2) - ); + const requestBody = { model, messages,