fix
This commit is contained in:
parent
86378dcc5d
commit
333c36c4fd
2
bot.py
2
bot.py
@ -106,7 +106,7 @@ def generate_chat_response(message_text):
|
|||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
return "Что-то пошло не так c OpenAI..."
|
return "Что-то пошло не так c OpenAI...", None, None
|
||||||
|
|
||||||
|
|
||||||
@bot.message_handler(commands=['start'])
|
@bot.message_handler(commands=['start'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user