mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Tweak gptel setup (using gpt-4 by default)
This commit is contained in:
parent
fcd08adcbf
commit
a085ef5b11
4
init.org
4
init.org
@ -1229,8 +1229,10 @@
|
|||||||
;; Interaction mode for ChatGPT
|
;; Interaction mode for ChatGPT
|
||||||
(use-package gptel
|
(use-package gptel
|
||||||
:defer t
|
:defer t
|
||||||
:config
|
:hook (gptel-mode . visual-line-mode)
|
||||||
|
:init
|
||||||
(setq gptel-default-mode 'org-mode
|
(setq gptel-default-mode 'org-mode
|
||||||
|
gptel-model "gpt-4"
|
||||||
gptel-api-key (auth-source-pick-first-password
|
gptel-api-key (auth-source-pick-first-password
|
||||||
:host "api.openai.com")))
|
:host "api.openai.com")))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user