Autoload gptel-request

This commit is contained in:
Jeremy Dormitzer 2024-07-24 10:28:22 -04:00
parent 3141955f9c
commit f9b49ef7b6

View File

@ -4,6 +4,7 @@
(define-key leader-map "a" (cons "ai" ai-map))
(use-package gptel
:commands (gptel-request)
:config
(defvar gptel-backend-openai (gptel-make-openai "ChatGPT"
:key #'gptel-api-key-from-auth-source