karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.06k stars 116 forks source link

Update gptel.el: Needs :require for auth-source-search #78

Closed marcuskammer closed 1 year ago

marcuskammer commented 1 year ago

To read from .authinfo.gpg the key parameter :require for auth-source-search is needed.

marcuskammer commented 1 year ago

System: Windows 10, Emacs 28.1

karthink commented 1 year ago

Thanks @marcuskammer!

rennsax commented 2 months ago

If the user only have ~/.authinfo and do not want to encrypt it, with this selector hard-coded, gptel-api-key-from-auth-source cannot get the apikey. Now I have to pass a function to :key when customizing my gpt backend.