Skip to content

Commit

Permalink
add default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerardo Parrello committed Mar 19, 2023
1 parent a1e854a commit 421b721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/openai_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def transcribe(self, filename):
result = await openai.Audio.atranscribe("whisper-1", audio)
return result.text

def reset_chat_history(self, chat_id, content):
def reset_chat_history(self, chat_id, content=''):
"""
Resets the conversation history.
"""
Expand Down

0 comments on commit 421b721

Please sign in to comment.