summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-16 05:58:24 -0500
committerCraig Jennings <c@cjennings.net>2026-05-16 05:58:24 -0500
commit1d9c68ddd32e7e9bae175fae248aa66e1cf33a48 (patch)
tree96491e926ac2f95598e515a0e626aecc00c24db1 /modules
parent5e1c21401bab3dcce9130e669503966dcf7046a7 (diff)
downloaddotemacs-1d9c68ddd32e7e9bae175fae248aa66e1cf33a48.tar.gz
dotemacs-1d9c68ddd32e7e9bae175fae248aa66e1cf33a48.zip
chore(ai-config): switch default gptel backend to ChatGPT / gpt-5.5
Two places set the default backend + model on gptel initialization -- `cj/ensure-gptel-backends' (the lazy-init fallback) and the `use-package gptel :config' block (the eager-set after initialization). Both now pick the ChatGPT backend with `gpt-5.5' instead of Claude with `claude-opus-4-7'.
Diffstat (limited to 'modules')
-rw-r--r--modules/ai-config.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/ai-config.el b/modules/ai-config.el
index 02c85e5c..cef929c1 100644
--- a/modules/ai-config.el
+++ b/modules/ai-config.el
@@ -149,8 +149,8 @@ Call this only after loading `gptel' so the backend constructors exist."
:stream t)))
;; Set default backend and model
(unless gptel-backend
- (setq gptel-backend (or gptel-claude-backend gptel-chatgpt-backend))
- (setq gptel-model "claude-opus-4-7")))
+ (setq gptel-backend (or gptel-chatgpt-backend gptel-claude-backend))
+ (setq gptel-model "gpt-5.5")))
;; ------------------ GPTel Conversation And Utility Commands ------------------
@@ -377,9 +377,9 @@ Works for any buffer, whether it's visiting a file or not."
(gptel--debug nil)
:config
(cj/ensure-gptel-backends)
- ;; Set Claude as default after initialization
- (setq gptel-backend gptel-claude-backend)
- (setq gptel-model "claude-opus-4-7")
+ ;; Set ChatGPT (gpt-5.5) as default after initialization
+ (setq gptel-backend gptel-chatgpt-backend)
+ (setq gptel-model "gpt-5.5")
(setq gptel-confirm-tool-calls nil) ;; allow tool access by default