diff --git a/src/clients/openai.js b/src/clients/openai.js index dd9b795..930c65f 100644 --- a/src/clients/openai.js +++ b/src/clients/openai.js @@ -46,8 +46,8 @@ async function chatWithAI(chatId, prompt) { const response = await client.chat.completions.create({ model: chatModel, messages: [ - ...chatHistory, ...prependPrompts, + ...chatHistory, userPromptMessage, ], });