jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.71k stars 310 forks source link

[Feature request] proxy support for curl? #316

Open kohane27 opened 11 months ago

kohane27 commented 11 months ago

Hello there. Hope you're doing well. Thank you for creating this llm plugin. This plugin of yours suits my workflow better, so thank you very much!

Description

I'm using proton-privoxy because I need to use a proxy through a VPN to access api.openai.com .

I'm writing to see if you're willing to add support for proxy?

Expected behavior

Currently I can use below:

curl --proxy http://127.0.0.1:8888 ifconfig.co/json

Could you please add some kind of configuration to allow users to use curl through a proxy?

Thank you again!