From 9797096b848b5e3358404f1f21420779204ebb0e Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Mon, 3 Apr 2023 02:43:44 +0200 Subject: [PATCH] update --- commands/system/new-chat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/system/new-chat.js b/commands/system/new-chat.js index 7e4f87e..9a56554 100644 --- a/commands/system/new-chat.js +++ b/commands/system/new-chat.js @@ -119,10 +119,10 @@ module.exports = { } else { const parsedRepeatPenalty = parseFloat(userInputRepeatPenalty); if (parsedRepeatPenalty >= 0.1 && parsedRepeatPenalty <= 2) { - // temperature is within range + // RepeatPenalty is within range repeatPenalty = parsedRepeatPenalty; } else { - // temperature is outside of range + // RepeatPenalty is outside of range return interaction.followUp(`Repeat Penalty must be between 0.1 and 2`); } }