2023-03-20 16:02:48,690 (init.py:960 MainThread) ERROR - TeleBot: "Infinity polling exception: 'messages'"
2023-03-20 16:02:48,691 (init.py:962 MainThread) ERROR - TeleBot: "Exception traceback:
Traceback (most recent call last):
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 955, in infinity_polling
self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout,
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 1043, in polling
self.threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout,
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 1118, in __threaded_polling
raise e
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 1074, in threaded_polling
self.worker_pool.raise_exceptions()
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/util.py", line 148, in raise_exceptions
raise self.exception_info
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/util.py", line 91, in run
task(*args, **kwargs)
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 6428, in _run_middlewares_and_handler
result = handler'function'
File "/home/runner/BingChatBot/bing.py", line 49, in response_all
responseList = asyncio.run(bingChat(message.text))
File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/runner/BingChatBot/bing.py", line 65, in bingChat
response_dict = await gbot.ask(prompt=messageText, conversation_style=ConversationStyle.creative)
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/EdgeGPT.py", line 279, in ask
async for final, response in self.chat_hub.ask_stream(
File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/EdgeGPT.py", line 242, in ask_stream
yield False, response["arguments"][0]["messages"][0][
KeyError: 'messages'
"
2023-03-20 16:02:48,690 (init.py:960 MainThread) ERROR - TeleBot: "Infinity polling exception: 'messages'" 2023-03-20 16:02:48,691 (init.py:962 MainThread) ERROR - TeleBot: "Exception traceback: Traceback (most recent call last): File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 955, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 1043, in polling self.threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 1118, in __threaded_polling raise e File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 1074, in threaded_polling self.worker_pool.raise_exceptions() File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/util.py", line 148, in raise_exceptions raise self.exception_info File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/util.py", line 91, in run task(*args, **kwargs) File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/telebot/init.py", line 6428, in _run_middlewares_and_handler result = handler'function' File "/home/runner/BingChatBot/bing.py", line 49, in response_all responseList = asyncio.run(bingChat(message.text)) File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete return future.result() File "/home/runner/BingChatBot/bing.py", line 65, in bingChat response_dict = await gbot.ask(prompt=messageText, conversation_style=ConversationStyle.creative) File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/EdgeGPT.py", line 279, in ask async for final, response in self.chat_hub.ask_stream( File "/home/runner/BingChatBot/venv/lib/python3.10/site-packages/EdgeGPT.py", line 242, in ask_stream yield False, response["arguments"][0]["messages"][0][ KeyError: 'messages' "