中国用户请设置能翻墙的系统代理 Chinese users, please set up a system proxy that can bypass the GFW.
First, you need to have Python 3.11 or higher installed. Then, you can install the required dependencies using pip:
pip install -r requirements.txt --upgradesame as EdgeGPT https://github.com/acheong08/EdgeGPT#getting-authentication-required
After saving cookies.json in current directory, you can run this project using the Python command line:
python main.pyThen, you can open http://localhost:65432 in your browser to start chatting.
--hostor-H: The hostname and port for the server, default islocalhost:65432.--proxyor-p: Proxy address, likehttp://localhost:7890, default is empty.
apikey: optional environment variableOPENAI_API_BASE:http://localhost:65432/apimodel: Creative,Balanced,Precise,Creative-offline,Balanced-offline,Precise-offline