From d26ab6dc76a7a95b3b2f13a1a633e52d85f72965 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Sun, 2 Feb 2025 12:27:23 -0500 Subject: [PATCH] another attempt to turn context window --- uncloseai.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uncloseai.js b/uncloseai.js index 7fe5768..e0eb7a1 100644 --- a/uncloseai.js +++ b/uncloseai.js @@ -152,7 +152,7 @@ Ready? Breath and then return a stream of tokens to be used in a TTS system. } ], temperature: 0, - max_tokens: 80000 + max_tokens: 76000 }; console.log("Sending payload to Hermes for spoken tokens:", JSON.stringify(payload, null, 2)); @@ -196,7 +196,7 @@ async function extractSpokenTokens(content) { } ], temperature: 0, - max_tokens: 80000 + max_tokens: 76000 }; console.log("Sending payload to Hermes for spoken tokens:", JSON.stringify(payload, null, 2)); @@ -349,7 +349,7 @@ async function* sendMessage(message) { model: MODEL, messages: chatHistory, temperature: 0.5, - max_tokens: 80000, + max_tokens: 76000, stream: true }) });