openclaw & hermes 代理设置

大喵喵酱
发布于 IP 属地:湖北省

openclaw

我是使用macmini安装的openclaw,我有不想在系统层面启动全局的代理。

所以我的做法是:

  1. 找到文件 ~/Library/LaunchAgents/ai.openclaw.gateway.plist

可以看到他里面有一个环境变量配置文件: .openclaw/service-env/ai.openclaw.gateway.env

  1. 编辑他,在里面加上代理配置

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:7890

hermes

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)
评论

请登录后发表观点

暂无数据