Format Python code with psf/black push

github-actions 2 years ago
parent 4bbc234c8f
commit 8b770cb872

@ -458,7 +458,15 @@ class Commands(discord.Cog, name="Commands"):
presence_penalty: float, presence_penalty: float,
): ):
await self.converser_cog.converse_command( 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") @add_to_group("gpt")

@ -195,7 +195,6 @@ class TextService:
ctx.channel.id ctx.channel.id
].history = prompt_with_history ].history = prompt_with_history
# Ensure that the last prompt in this list is the prompt we just sent (new_prompt_item) # 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: if prompt_with_history[-1].text != new_prompt_item.text:
try: try:

Loading…
Cancel
Save