From a085ef5b11cb4950957303806a39909ed5afc39e Mon Sep 17 00:00:00 2001 From: larstvei Date: Wed, 12 Jul 2023 06:07:02 -0700 Subject: [PATCH] Tweak gptel setup (using gpt-4 by default) --- init.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index 6382fdd..40ced83 100644 --- a/init.org +++ b/init.org @@ -1229,8 +1229,10 @@ ;; Interaction mode for ChatGPT (use-package gptel :defer t - :config + :hook (gptel-mode . visual-line-mode) + :init (setq gptel-default-mode 'org-mode + gptel-model "gpt-4" gptel-api-key (auth-source-pick-first-password :host "api.openai.com")))