Open HatefulRock opened 6 months ago
@HatefulRock Would you be able to share a bit more info about what your proxy setup looks like? Most importantly, there is the HTTP: Proxy field in VS Code settings, and the HTTP: Proxy Support field.
If you already have VS Code set up to use a proxy, then the Proxy Support field can be set to "override" in order to handle all outgoing traffic from extensions automatically and send it through your proxy.
Otherwise, Continue also has a proxy option in config.json which can be set for each model with "requestOptions.proxy"
@sestinj is it also possible to configure a no_proxy
variable?
@ilyanoskov We don't have this today, but to make sure I understand what you mean:
You would set requestOptions.proxy to the proxy that you want most requests to go through, and also requestOptions.noProxy with a list of host names that you don't want the proxy to be used for?
@sestinj this is a feature that we would also like to see implemented. Your understanding is correct.
@nmcostello Here's a first pass at the feature: https://github.com/continuedev/continue/commit/e7f1f43fddc81034a046c0bbde5d963b53282e17
I'll release it later today in pre-release, but let me know if there's anything else that you would need
Awesome! I'll check it out in the pre-release. This should be what's needed.
I have the same request. I set the config.json like this. But it doesn't work at version of 0.8.40. Looking forward to your new release. { "model": "gpt-4o", "title": "GPT-4o", "systemMessage": "You are an expert software developer. You give helpful and concise responses.", "apiKey": "my-api-key", "completionOptions": {}, "provider": "openai", "requestOptions":{ "proxy": "socks5h://127.0.0.1:7890" } }
Just pushed 0.9.154 so it should be on the store in a matter of 20 minutes
Before submitting your bug report
Relevant environment info
Description
Unable to use continue on vscode with proxy
To reproduce
No response
Log output