openclaw & hermes 代理设置
发布于 IP 属地:湖北省
openclaw
我是使用macmini安装的openclaw,我有不想在系统层面启动全局的代理。
所以我的做法是:
找到文件
~/Library/LaunchAgents/ai.openclaw.gateway.plist
可以看到他里面有一个环境变量配置文件: .openclaw/service-env/ai.openclaw.gateway.env

编辑他,在里面加上代理配置
export https_proxy=http://127.0.0.1:7890
export http_proxy=http://127.0.0.1:7890
export all_proxy=socks5://127.0.0.1:7890hermes
hermes 更简单, 编辑 ~/.hermes/.env 将下面配置加进去即可。
HTTP_PROXY=http://127.0.0.1:7890
HTTPS_PROXY=http://127.0.0.1:7890
ALL_PROXY=socks5://127.0.0.1:7890浏览(20)
