Closed taiqn closed 1 year ago
This seems to be that the format of the cookies is incorrect.
Ref This: https://github.com/acheong08/EdgeGPT#authentication-required
I'm now not able to set the path for bing_cookie
try this:
pip3 install -U EdgeGPT
_Traceback (most recent call last): File "/Users/tai/Library/Python/3.9/bin/ai", line 5, in
from ai_cli.cli import cli
File "/Users/tai/Library/Python/3.9/lib/python/site-packages/ai_cli/cli.py", line 10, in
from ai_cli.bot import Bot, get_bot
File "/Users/tai/Library/Python/3.9/lib/python/site-packages/ai_cli/bot/init.py", line 12, in
from EdgeGPT import Chatbot, ConversationStyle
File "/Users/tai/Library/Python/3.9/lib/python/site-packages/EdgeGPT.py", line 953, in
class Query:
File "/Users/tai/Library/Python/3.9/lib/python/site-packages/EdgeGPT.py", line 962, in Query
Cookie.import_data()
File "/Users/tai/Library/Python/3.9/lib/python/site-packages/EdgeGPT.py", line 934, in import_data
cls.current_filepath = cls.files()[cls.current_fileindex]
IndexError: list index out of range
Hi, I encouter this error when running ai setting -e or other ai-commands. Hope you could help
Thanks Tai