Skip to content

Commit

Permalink
feat: Try out gptel
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 16, 2023
1 parent fa1ddb4 commit a00c93e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config.el
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,15 @@

(use-package! nushell-ts-babel
:after nushell-ts-mode)

(use-package! gptel
:config
(setq! gptel-default-mode #'org-mode)
(gptel-make-ollama
"Ollama" ;Any name of your choosing
:host "localhost:11434" ;Where it's running
:models '("mistral:latest") ;Installed models
:stream t)) ;Stream responses
;;
;;; Custom Variables
(custom-set-variables
Expand Down
1 change: 1 addition & 0 deletions packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
(unpin! org-journal)

;; Experimental
(package! gptel)
(package! nushell-ts-mode :recipe (:host github :repo "herbertjones/nushell-ts-mode"))
(package! nushell-ts-babel :recipe (:host github :repo "herbertjones/nushell-ts-babel"))
(package! astro-ts-mode)
Expand Down

0 comments on commit a00c93e

Please sign in to comment.