diff --git a/cogs/commands.py b/cogs/commands.py index 7367fef..d87c234 100644 --- a/cogs/commands.py +++ b/cogs/commands.py @@ -458,7 +458,15 @@ class Commands(discord.Cog, name="Commands"): presence_penalty: float, ): await self.converser_cog.converse_command( - ctx, opener, opener_file, private, minimal, temperature, top_p, frequency_penalty, presence_penalty + ctx, + opener, + opener_file, + private, + minimal, + temperature, + top_p, + frequency_penalty, + presence_penalty, ) @add_to_group("gpt") diff --git a/services/text_service.py b/services/text_service.py index bbc50ac..fec7aa1 100644 --- a/services/text_service.py +++ b/services/text_service.py @@ -195,7 +195,6 @@ class TextService: ctx.channel.id ].history = prompt_with_history - # Ensure that the last prompt in this list is the prompt we just sent (new_prompt_item) if prompt_with_history[-1].text != new_prompt_item.text: try: