mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-22 07:04:59 +01:00
add default value
This commit is contained in:
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user