Closed tusharhero closed 4 months ago
Is there any particular reason to use them?
Reducing the amount of code you maintain and duplicating less can save time and effort.
I would still have to write the tiresome and finicky process sentinels and filters gptel-curl uses. The only functions I could use plz for would be to replace gptel-curl-get-response and a bit of the error handling, and even these would look mostly the same because of the bookkeeping required on gptel's part. Including the dependencies, the end result would be a big overall increase in the amount of code gptel uses. Take a look at gptel-curl and let me know how specifically using plz or request can help.
Converting to a discussion since there isn't anything to fix/add at the moment.
Is there any particular reason for not using https://github.com/alphapapa/plz.el or tkf.github.io/emacs-request/ ?