diff --git a/src/routes/api/aiFollowupQuestion.js b/src/routes/api/aiFollowupQuestion.js index 9991971..3726db4 100644 --- a/src/routes/api/aiFollowupQuestion.js +++ b/src/routes/api/aiFollowupQuestion.js @@ -20,7 +20,11 @@ const aiFollowupQuestion = async (req, res) => { }, body: JSON.stringify({ model: model, - messages: messages, + // messages: messages, + messages: [ + { role: "system", content: "reply must not exceed 20 words" }, + { role: "user", content: messages } + ], max_tokens: max_tokens, }), });