From 5273180d4934054727aad70f5b57b77142bf065b Mon Sep 17 00:00:00 2001 From: AllfatherHatt Date: Thu, 30 May 2024 20:49:55 +0200 Subject: [PATCH] Attempting to add detailed responses back in --- reginaldCog/reginald.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reginaldCog/reginald.py b/reginaldCog/reginald.py index 9487e32..14d44ab 100644 --- a/reginaldCog/reginald.py +++ b/reginaldCog/reginald.py @@ -117,7 +117,7 @@ class ReginaldCog(commands.Cog): openai.api_key = api_key response = openai.ChatCompletion.create( model=model, - max_tokens=512, + max_tokens=1024, # Increase max_tokens for more detailed responses n=1, stop=None, temperature=0.7,