Blarc / ai-commits-intellij-plugin

AI Commits for IntelliJ based IDEs/Android Studio.
https://plugins.jetbrains.com/plugin/21335-ai-commits
MIT License
258 stars 33 forks source link

Using an HTTP proxy that is already configured #157

Open ankkk opened 7 months ago

ankkk commented 7 months ago

Is it possible to use a proxy setting located mainly within the editor (Settings > Appearance & Behavior > System Settings > HTTP Proxy) to make requests to OpenAI?

Blarc commented 7 months ago

I have never used IntelliJ's built in HTTP Proxy, but as far as I understand, it should work. Based on the docs, it redirects all http traffic through that proxy, so I would assume it does the same for Open AI requests.

ankkk commented 7 months ago

right now, it's not working. But if I turn on my VPN on my computer, then everything starts working again.

Blarc commented 7 months ago

Can you make an API request to OpenAI with curl when your VPN is off? I do not understand what are you trying to achieve exactly.