SoraRoseous / ChatSydney-react

帮黑暗大佬暂时维护下,已支持图像生成(需cookie)和图像识别,不过图像识别结果仅在当次对话有效。可以进下面的链接体验一下(建议使用自己的cookie,不填默认是用我的,容易上限),这个地址可能会变动。
https://80c9-38-207-143-112.ngrok-free.app
The Unlicense
81 stars 34 forks source link

新电脑上部署提示返回报错 None is not str #27

Open lioensky opened 9 months ago

lioensky commented 9 months ago

Proxy used: http://127.0.0.1:7890 Loaded cookies.json Go to http://localhost:65432 to start chatting! Traceback (most recent call last): File "C:\MyFiles\App\ChatSydney\main.py", line 40, in sydney_processmessage async for , response in chatbot.ask_stream(prompt=user_message, conversation_style="creative", raw=True, File "C:\MyFiles\App\ChatSydney\EdgeGPT\EdgeGPT.py", line 188, in ask_stream async for response in self.chat_hub.ask_stream( File "C:\MyFiles\App\ChatSydney\EdgeGPT\chathub.py", line 144, in ask_stream msg = await wss.receive_str() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\xueji\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\aiohttp\client_ws.py", line 275, in receive_str raise TypeError(f"Received message {msg.type}:{msg.data!r} is not str") TypeError: Received message 257:None is not str

SoraRoseous commented 9 months ago

换个代理试试,或者就是重发

lioensky commented 9 months ago

换个代理试试,或者就是重发

不太行,网页的Newbing是可以使用的