Skip to content

Proxy #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
noker81 opened this issue Jan 28, 2025 · 2 comments
Closed

Proxy #34

noker81 opened this issue Jan 28, 2025 · 2 comments

Comments

@noker81
Copy link

noker81 commented Jan 28, 2025

It would be nice to have the option to connect a proxy.

@Krazal Krazal moved this to Backlog in NppOpenAI development Jan 28, 2025
@Krazal Krazal moved this from Backlog to Ready in NppOpenAI development Jan 28, 2025
@Krazal
Copy link
Owner

Krazal commented Jan 28, 2025

Thank you for your suggestion! I added it to the plugin project (kanban)

Krazal pushed a commit that referenced this issue Jan 29, 2025
• Proxy setting has been added (issue #34)
• Load Config issue fixed: the modified settings (Keep my question) are no longer ignored on Load Config
• Better JSON response validation
• Updated libraries/includes/etc.:
  - cacert.pem: 2024-09-24 » 2024-12-31
  - OpenSSL: 3.0.8.0 » 3.4.0.0
  - zlib: 1.2.13.0 » 1.3.1.0
  - cURL: 8.0.0.0 » 8.11.1.0
  - nlohmann/json: v3.11.2 » v3.11.3
@Krazal
Copy link
Owner

Krazal commented Jan 29, 2025

I'm happy to announce that I've managed to add proxy support to the plugin!

The latest version is expected to be available in the nppPluginList in a few days/weeks (after my PR was accepted).

For manual update, see the wiki FAQ:
https://github.com/Krazal/nppopenai/wiki/FAQ#question-ive-an-old-buggy-nppopenai-release-how-should-i-update

Edit: to enable proxy, please edit this line:

proxy_url=0

To the desired proxy address, e.g.:

proxy_url=http://1.1.1.1:80

Then don't forget to Load Config.

@Krazal Krazal closed this as completed Feb 1, 2025
@github-project-automation github-project-automation bot moved this from Ready to Done in NppOpenAI development Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants