如何新建一个git仓库
- git init 初始化git
- git add 添加文件至暂存区
- git commit 添加commit
- git push 推commit到远程仓库
Auto-GPT-stable.zip (557.3 KB)
安装依赖
# 源码安装方式
python setup.py install
# whl包安装方式
pip install en_core_web_sm-3.5.0-py3-none-any.whl
autogpt网络问题解决
https://github.com/Significant-Gravitas/Auto-GPT/issues/1128
openai 库源码添加代理
proxy = {
'http':'127.0.0.1:19180',
'https':'127.0.0.1:19180',
'socks5':'127.0.0.1:19181'
}
if not hasattr(_thread_context, "session"):
_thread_context.session = _make_session()
try:
result = _thread_context.session.request(
method,
abs_url,
headers=headers,
data=data,
files=files,
stream=stream,
timeout=request_timeout if request_timeout else TIMEOUT_SECS,proxies=proxy
)
减低urllib3版本
pip install urllib3 ==1.25.11