Skip to content

Commit

Permalink
fix(openai.js): remove debugging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
supersonictw committed Jun 10, 2024
1 parent 9b76b22 commit b5bff5d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/clients/openai.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ async function chatWithAI(chatId, prompt) {
},
];

// Debug
console.log(chatId);
console.log(prompt);
console.log(messages);

const response = await client.chat.completions.create({
model: chatModel,
messages,
Expand All @@ -64,10 +59,6 @@ async function chatWithAI(chatId, prompt) {
content,
});

// Debug
console.log(response);
console.log(content);

return choice.message.content;
}

Expand Down

0 comments on commit b5bff5d

Please sign in to comment.