Pierrad / obsidian-github-copilot

A bridge between Obsidian and Github Copilot
Apache License 2.0
119 stars 8 forks source link

HTTP Proxy Support #30

Closed Rigidoont closed 2 months ago

Rigidoont commented 3 months ago

Hi! This plugin is amazing! Thank you very much for making it.

I need some help with configuring a proxy. In my IDE by JetBrains, there are settings to configure a proxy under "Settings" -> "Appearance & Behavior" -> "System settings" -> "HTTP Proxy", but I couldn't find similar options in the settings of this plugin.

Could you please help me figure out how to use a proxy with this plugin or consider adding a feature that allows users to configure an HTTP proxy directly within the plugin?

Rigidoont commented 3 months ago

Alright, I seem to have figured out how to add a proxy. According to GitHub Copilot's documentation, it checks the following env variables:

Since other users might benefit from this functionality, would you consider adding a proxy configuration option directly within the plugin’s UI? This would make it more accessible for users who might not be comfortable modifying the code.

Pierrad commented 3 months ago

Hi @Rigidoont,

Thanks for doing the research! I will implement it in the end of the week when I have a bit more time.

Pierrad commented 2 months ago

Hi @Rigidoont,

The new setting is available in the v1.0.10, please tell me if it fit your needs!

Rigidoont commented 2 months ago

I've tried it out. It's perfect! Thank you so much!