-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a http_proxy
setting
#5032
Comments
This project uses launchctl setenv https_proxy http://address
launchctl setenv http_proxy http://address Now you can access the Internet. AdditionalI found this to be a quick helpful reference to explicitly tell |
try to start zed with command line: cd /Applications/Zed.app/Contents/MacOS
export http_proxy=xxx
export https_proxy=yyy
zed |
It doesn't seems to work with OpenAI API, is there any recommended way to use a proxy with OpenAI API ? |
i am using zed behind proxy, tired all workarounds above does not solve my issue, assistant still nothing response, |
Adding `proxy` keyword to configure proxy while using zed. After setting the proxy, restart Zed to acctually use the proxy. Example setting: ```rust "proxy" = "socks5://localhost:10808" "proxy" = "http://127.0.0.1:10809" ``` Closes zed-industries#9424, closes zed-industries#9422, closes zed-industries#8650, closes zed-industries#5032, closes zed-industries#6701, closes zed-industries#11890 Release Notes: - Added settings to configure proxy in Zed --------- Co-authored-by: Jason Lee <huacnlee@gmail.com>
Check for existing issues
Describe the feature
FYI, programmers in China face restrictions from the Great Firewall(GFW) and require a VPN service to access the internet freely. When I launch Zed, it automatically downloads the LSP server, which is blocked by the GFW and fails to complete. Therefore, I need to set the
http_proxy
env variable in a terminal session and open Zed using the CLI.It would be very helpful if there were settings related to
http_proxy
. Take VS Code as an example:If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: