problem with the bot
Closed this issue · 2 comments
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/websockets/legacy/client.py", line 655, in await_impl_timeout
return await self.await_impl()
File "/usr/local/lib/python3.10/dist-packages/websockets/legacy/client.py", line 676, in await_impl
await protocol.wait_closed()
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/DiscordBot-EdgeGPT/cogs/event.py", line 120, in send_message
reply = await chatbot.ask(prompt=user_message, conversation_style=ConversationStyle.balanced, simplify_response=True)
File "/usr/local/lib/python3.10/dist-packages/EdgeGPT/EdgeGPT.py", line 116, in ask
async for final, response in self.chat_hub.ask_stream(
File "/usr/local/lib/python3.10/dist-packages/EdgeGPT/chathub.py", line 102, in ask_stream
async with connect(
File "/usr/local/lib/python3.10/dist-packages/websockets/legacy/client.py", line 637, in aenter
return await self
File "/usr/local/lib/python3.10/dist-packages/websockets/legacy/client.py", line 654, in await_impl_timeout
async with asyncio_timeout(self.open_timeout):
File "/usr/local/lib/python3.10/dist-packages/websockets/legacy/async_timeout.py", line 169, in aexit
self._do_exit(exc_type)
File "/usr/local/lib/python3.10/dist-packages/websockets/legacy/async_timeout.py", line 252, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
API has error, waiting for fixes
My chatbot can working, maybe update your cookies and try again. Otherwise try using a VPN