ahyatt / llm

A package abstracting llm capabilities for emacs.
GNU General Public License v3.0
142 stars 19 forks source link

Add support for HTTP/HTTPS proxies #49

Closed r0man closed 1 month ago

r0man commented 1 month ago

This adds support for HTTP/HTTPS proxies. The code that was dealing with this in plz.el wasn't migrated and we did not had any tests for this. This should now be fixed. See:

It fixes the issue #48 reported by @theasp. He tested the code with Ollama behind a Squid proxy. I tested it with Vertex and OpenAI behind a tinyproxy.

https://github.com/ahyatt/llm/issues/48

It also removes the default plz-timeout, since this is going to be removed in the next version of plz. It should not affect us, since we already have a default that is set to nil.

ahyatt commented 1 month ago

Thank you for this quick fix!