From a4d73931386e202a75002e5d2bfd602b0c6c023d Mon Sep 17 00:00:00 2001 From: Joseph Ottinger Date: Thu, 1 Feb 2024 15:57:09 -0500 Subject: [PATCH] Removing extraneous debug messages --- src/main/kotlin/javabot/dao/ChatGPTDao.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/kotlin/javabot/dao/ChatGPTDao.kt b/src/main/kotlin/javabot/dao/ChatGPTDao.kt index 2166e1ca..8a1a68a3 100644 --- a/src/main/kotlin/javabot/dao/ChatGPTDao.kt +++ b/src/main/kotlin/javabot/dao/ChatGPTDao.kt @@ -17,10 +17,7 @@ constructor(val javabotConfig: JavabotConfig) { val model = "gpt-4" val gpt = GPT(javabotConfig.chatGptKey()) val messageModel = MessageModel(model, listOf(Message("user", prompt))) - gpt.log.info(messageModel.toString()) val messageResponse = gpt.sendMessage(messageModel) - gpt.log.info("Waiting for the answer"); - gpt.log.info(messageResponse.choices[0].message.content); return messageResponse.choices[0].message.content } else { // no chatGPT key? No chatGPT attempt.