Skip to content

Commit

Permalink
Format Python code with psf/black push
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and github-actions committed Jan 27, 2023
1 parent 4bbc234 commit 8b770cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 9 additions & 1 deletion cogs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion services/text_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8b770cb

Please sign in to comment.