Skip to content

Commit

Permalink
Removing extraneous debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jottinger committed Feb 1, 2024
1 parent f7457fa commit a4d7393
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/kotlin/javabot/dao/ChatGPTDao.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a4d7393

Please sign in to comment.