From 8b770cb872354b8a81758a74898917e85eae40be Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Fri, 27 Jan 2023 05:57:38 +0000 Subject: [PATCH] Format Python code with psf/black push --- cogs/commands.py | 10 +++++++++- services/text_service.py | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cogs/commands.py b/cogs/commands.py index 7367fef0..d87c2343 100644 --- a/cogs/commands.py +++ b/cogs/commands.py @@ -458,7 +458,15 @@ async def converse( 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 bbc50ace..fec7aa1e 100644 --- a/services/text_service.py +++ b/services/text_service.py @@ -195,7 +195,6 @@ async def encapsulated_send( 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: