Bryley / neoai.nvim

Neovim plugin for intracting with GPT models from OpenAI
MIT License
558 stars 51 forks source link

Support for configuring openai proxy #20

Open sternelee opened 1 year ago

sternelee commented 1 year ago

Unable to connect api.openai.com in some countries, so just add config for this

Bryley commented 1 year ago

Hey thanks for opening an issue. So you're just looking for a way to change the api.openai.com URL within the config to something else?

sternelee commented 1 year ago

Hey thanks for opening an issue. So you're just looking for a way to change the api.openai.com URL within the config to something else?

Yes, I think it just like open_api_key_env you did, I use gpt from other resource. Of course, I can also change the file directly