fix
This commit is contained in:
parent
c007d4aadf
commit
b72336c297
2
bot.py
2
bot.py
@ -173,7 +173,7 @@ def send_voice_text(call):
|
||||
# Send the response back to the user with markdown formatting
|
||||
try:
|
||||
ans = bot.send_message(chat_id=call.message.chat.id, text=response_text , parse_mode='Markdown')
|
||||
if reason != 'stop':
|
||||
if reason != "stop":
|
||||
bot.reply_to(ans, f"Finish reason: {reason} \nCost: {cost}")
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user