diff --git a/07-Other/AI/AI Agent/OpenClaw.md b/07-Other/AI/AI Agent/OpenClaw.md index 34b59ac..95eece0 100644 --- a/07-Other/AI/AI Agent/OpenClaw.md +++ b/07-Other/AI/AI Agent/OpenClaw.md @@ -43,22 +43,29 @@ cd openclaw ``` github还需要添加一下代理。 -curl也需要使用代理: -curl --socks5 192.168.50.100:20172 https://github.com/ +git config --global --list - -git config --global http.https://github.com.proxy http://192.168.50.100:20171 +git config --global http.https://github.com.proxy http://192.168.50.151:2081 +git config --global https.https://github.com.proxy http://192.168.50.151:2081 +~~git config --global http.https://github.com.proxy http://192.168.50.100:20171 git config --global https.https://github.com.proxy http://192.168.50.100:20171 +~~ +git config --global --unset http.https://github.com.proxy +git config --global --unset https.https://github.com.proxy -git config --global --unset http.https://github.com.proxy) -git config --global --unset https.https://github.com.proxy) +git config --global --unset http.proxy +git config --global --unset https.proxy export https_proxy="http://192.168.50.100:20171" export http_proxy="http://192.168.50.100:20171" +export https_proxy="http://192.168.50.151:2081" +export http_proxy="http://192.168.50.151:2081" + 取消代理 unset http_proxy https_proxy +unset http_proxy https_proxy all_proxy ## 核心步骤:构建并启动 Docker 镜像(约 5–30 分钟) ### (可选)加速:使用预构建镜像 @@ -66,6 +73,8 @@ unset http_proxy https_proxy bash运行 ``` export OPENCLAW_IMAGE=alpine/openclaw # 或官方其他镜像(视最新可用) + +unset OPENCLAW_IMAGE ``` ### 运行官方 setup 脚本