Format Python code with psf/black push

github-actions 1 year ago
parent 4bbc234c8f
commit 8b770cb872

@ -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")

@ -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:

Loading…
Cancel
Save