doom emacs gpt

This commit is contained in:
Danilo Reyes 2025-05-02 09:03:39 -06:00
parent 8f2b3d109a
commit ae5ed3f864
2 changed files with 16 additions and 0 deletions

View File

@ -463,6 +463,21 @@ Configurations to add linting support to specific languages by integrating linte
(add-to-list 'flycheck-checkers 'nix-statix)) (add-to-list 'flycheck-checkers 'nix-statix))
#+end_src #+end_src
* GPT
Integrate most AI agents with emacs on a way that through api keys it can do
more than cursor!
#+begin_src emacs-lisp :tangle ./config.el
(use-package! gptel
:config
(setq! gptel-api-key "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")
(gptel-make-ollama "Ollama"
:host "localhost:11434"
:stream t
:models '(mistral:latest))
)
#+end_src
* HUGO * HUGO
Capture template for new hugo posts. Capture template for new hugo posts.

View File

@ -93,3 +93,4 @@
;; (package! wc-mode) ;; displays character count of buffer ;; (package! wc-mode) ;; displays character count of buffer
(package! expand-region) (package! expand-region)
(package! gptel :recipe (:nonrecursive t))