goose icon indicating copy to clipboard operation
goose copied to clipboard

Proxifying connections in goose-desktop

Open asakura42 opened this issue 7 months ago • 1 comments

Please explain the motivation behind the feature request. Many users have to use proxies to access some LLM providers. However, although the TUI version of goose allows you to run it via proxychains, goose-desktop uses the goosed daemon and Electron, which prevents from using proxychains.

Describe the solution you'd like Some switch inside the GUI to enable proxy.

Describe alternatives you've considered HTTP_PROXY doesn't work, --proxy-server flag proxifies only connections to yours server but not the goosed's connection to LLM provider.

  • [x] I have verified this does not duplicate an existing feature request

asakura42 avatar May 21 '25 09:05 asakura42

These env lines seems to work, but having a GUI changer may be a good option:

export HTTP_PROXY=http://127.0.0.1:9099
export http_proxy=http://127.0.0.1:9099
export HTTPS_PROXY=http://127.0.0.1:9099
export https_proxy=http://127.0.0.1:9099
export SOCKS_PROXY=socks5://127.0.0.1:9099
export socks_proxy=socks5://127.0.0.1:9099
export NO_PROXY=localhost,127.0.0.1
export no_proxy=localhost,127.0.0.1

asakura42 avatar May 21 '25 10:05 asakura42

so these environment variables do work for the GUI? I am not sure adding it as a separate config step is worth it

DOsinga avatar Jul 31 '25 13:07 DOsinga

export HTTP_PROXY=http://127.0.0.1:9099 export http_proxy=http://127.0.0.1:9099 export HTTPS_PROXY=http://127.0.0.1:9099 export https_proxy=http://127.0.0.1:9099 export SOCKS_PROXY=socks5://127.0.0.1:9099 export socks_proxy=socks5://127.0.0.1:9099 export NO_PROXY=localhost,127.0.0.1 export no_proxy=localhost,127.0.0.1

akarm5363-svg avatar Sep 29 '25 04:09 akarm5363-svg

export HTTP_PROXY=http://127.0.0.1:9099 export http_proxy=http://127.0.0.1:9099 export HTTPS_PROXY=http://127.0.0.1:9099 export https_proxy=http://127.0.0.1:9099 export SOCKS_PROXY=socks5://127.0.0.1:9099 export socks_proxy=socks5://127.0.0.1:9099 export NO_PROXY=localhost,127.0.0.1 export no_proxy=localhost,127.0.0.1

akarm5363-svg avatar Sep 29 '25 04:09 akarm5363-svg

export HTTP_PROXY=http://127.0.0.1:9099 export http_proxy=http://127.0.0.1:9099 export HTTPS_PROXY=http://127.0.0.1:9099 export https_proxy=http://127.0.0.1:9099 export SOCKS_PROXY=socks5://127.0.0.1:9099 export socks_proxy=socks5://127.0.0.1:9099 export NO_PROXY=localhost,127.0.0.1 export no_proxy=localhost,127.0.0.1

akarm5363-svg avatar Sep 29 '25 04:09 akarm5363-svg

thanks, is there anything particular you want us to do with that?

DOsinga avatar Sep 29 '25 12:09 DOsinga