From 385b971dc9230f6c00573cde0303d009da722456 Mon Sep 17 00:00:00 2001 From: AllfatherHatt Date: Fri, 21 Feb 2025 02:16:18 +0100 Subject: [PATCH] Upped the amount of tokens --- reginaldCog/reginald.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reginaldCog/reginald.py b/reginaldCog/reginald.py index fcaac3c..7621994 100644 --- a/reginaldCog/reginald.py +++ b/reginaldCog/reginald.py @@ -161,7 +161,7 @@ class ReginaldCog(commands.Cog): response = await client.chat.completions.create( model="gpt-4o-mini", messages=[{"role": "system", "content": summary_prompt}, {"role": "user", "content": summary_text}], - max_tokens=256 + max_tokens=1024 ) summary_content = response.choices[0].message.content.strip()