From 989e402143cd014bff6dd2c2f94c2bb3382569df Mon Sep 17 00:00:00 2001 From: Josh Elster Date: Thu, 9 May 2024 14:02:40 -0500 Subject: [PATCH] Update action.js increase max tokens to avoid truncating response --- src/action.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/action.js b/src/action.js index 055c673..d98bb1c 100644 --- a/src/action.js +++ b/src/action.js @@ -57,7 +57,7 @@ async function run() { }, ], temperature: 1, - max_tokens: 256, + max_tokens: 4096, top_p: 1, frequency_penalty: 0, presence_penalty: 0, @@ -75,4 +75,4 @@ async function run() { } } -run(); \ No newline at end of file +run();