terry3041 / pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
GNU General Public License v3.0
1.35k stars 255 forks source link

ndexError: list index out of range #118

Open 10kkm opened 1 year ago

10kkm commented 1 year ago

Traceback (most recent call last): File "D:\chatgpt\main.py", line 8, in resp = api.send_message(ga) File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\pyChatGPT\pyChatGPT.py", line 444, in send_message response = self.driver.find_elements(*chatgpt_small_response)[-1] IndexError: list index out of range

JewishLewish commented 7 months ago

+1

DevWand commented 7 months ago

+2

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\wande\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyChatGPT__main__.py", line 34, in response = chat.send_message(prompt) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\wande\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyChatGPT\pyChatGPT.py", line 444, in send_message response = self.driver.find_elements(*chatgpt_small_response)[-1]


IndexError: list index out of range