Add gptel to Emacs desktop profile

This commit is contained in:
Fabio Scotto di Santolo
2026-04-09 22:28:33 +02:00
parent 9659fcce23
commit 1c23326fd5
8 changed files with 76 additions and 35 deletions

View File

@@ -0,0 +1,7 @@
;;; gptel-private.el -*- lexical-binding: t; -*-
(let ((openai-api-key "{{ vault_openai_api_key | default('') }}"))
(when (> (length openai-api-key) 0)
(setq gptel-api-key openai-api-key)))
;;; gptel-private.el ends here