summaryrefslogtreecommitdiff
path: root/modules/ai-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ai-config.el')
-rw-r--r--modules/ai-config.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ai-config.el b/modules/ai-config.el
index e4ef932e..01b089ce 100644
--- a/modules/ai-config.el
+++ b/modules/ai-config.el
@@ -50,8 +50,8 @@
. "You are a large language model and a conversation partner. Respond
concisely.")))
- ;; grab the secret from ~/.authinfo.gpg
- (setq auth-sources '((:source "~/.authinfo.gpg")))
+ ;; grab the secret from the auth file
+ (setq auth-sources `((:source ,authinfo-file)))
(setq gptel-api-key (auth-source-pick-first-password :host "api.openai.com")))
(provide 'ai-config)