remove comments

This commit is contained in:
Raven Scott 2023-06-12 18:16:16 +02:00
parent 10473ef702
commit 61ee13bfbd

View File

@ -436,9 +436,6 @@ async function generateResponse(conversation, message) {
const refreshInterval = setInterval(showSystemLoad, (process.env.REFRESH_INTERVAL || 7) * 1000); const refreshInterval = setInterval(showSystemLoad, (process.env.REFRESH_INTERVAL || 7) * 1000);
// Handle context size // Handle context size
// Assuming 'messagesCopy' is the array of messages you provided
// Encode the messages // Encode the messages
const encodedTokens = llamaTokenizer.encode(messagesCopy); const encodedTokens = llamaTokenizer.encode(messagesCopy);