ripples-alive / Feishu-ChatGPT

接入 ChatGPT(浏览器接口) 的飞书机器人
26 stars 4 forks source link

revChatGPT升级后报错 #2

Closed dy033 closed 1 year ago

dy033 commented 1 year ago

image 降到2.3.8后使用正常

Traceback (most recent call last): File "/src/./bot.py", line 75, in worker handle(message_id, open_id, uuid, text) File "/src/./bot.py", line 92, in handle for data in chatbot.ask(text, conversation_id=conversation_id, parent_id=parent_id): File "/usr/local/lib/python3.11/site-packages/revChatGPT/V1.py", line 238, in ask response = self.session.post( ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 635, in post return self.request("POST", url, data=data, json=json, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 723, in send history = [resp for resp in gen] ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 723, in history = [resp for resp in gen] ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 191, in resolve_redirects raise TooManyRedirects( requests.exceptions.TooManyRedirects: Exceeded 30 redirects.