feat: claude opus

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong0618
2024-03-18 15:09:36 +08:00
parent 2952b81521
commit 68ab644e4a
4 changed files with 118 additions and 11 deletions

3
tg.py
View File

@ -1,5 +1,4 @@
import argparse
from telebot import TeleBot
from handlers import list_available_commands, load_handlers
@ -32,7 +31,7 @@ def main():
# Start bot
print("Starting tg collections bot.")
bot.infinity_polling()
bot.infinity_polling(timeout=10, long_polling_timeout=5)
if __name__ == "__main__":