From c97e525d45826ae1ee9edf6d8381ef4a4acd0aff Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Mon, 17 Apr 2023 04:02:16 +0200 Subject: [PATCH] adding aprox --- llamabot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llamabot.js b/llamabot.js index 05804c7..3e2fe0b 100644 --- a/llamabot.js +++ b/llamabot.js @@ -193,7 +193,7 @@ async function generateResponse(conversation, message) { const freeMemory = os.freemem() / 1024 / 1024 / 1024; const totalMemory = os.totalmem() / 1024 / 1024 / 1024; const usedMemory = totalMemory - freeMemory; - const messageData = `Please wait, I am thinking...\nSystem Load: ${systemLoad.toFixed(2)}%\nMemory Usage: ${usedMemory.toFixed(2)} GB / ${totalMemory.toFixed(2)} GB | Time: ${time} seconds.`; + const messageData = `Please wait, I am thinking...\nSystem Load: ${systemLoad.toFixed(2)}%\nMemory Usage: ${usedMemory.toFixed(2)} GB / ${totalMemory.toFixed(2)} GB | Time: ~${time} seconds.`; // if the message object doesn't exist, create it if (!botMessage) {