add default value

This commit is contained in:
Gerardo Parrello
2023-03-19 21:27:51 +01:00
parent a1e854a279
commit 421b7212bb

View File

@@ -124,7 +124,7 @@ class OpenAIHelper:
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.
"""