aboutsummaryrefslogtreecommitdiff
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
commit785f19d3bbbd3680c068a2b90be5c017be1b811e (patch)
treec11561a5bb0edaa38781cc52d69159aa211e8a79 /modules
parenta011896dbcabe4a0f9a5fc60cf7d306ef1af178e (diff)
downloaddotemacs-785f19d3bbbd3680c068a2b90be5c017be1b811e.tar.gz
dotemacs-785f19d3bbbd3680c068a2b90be5c017be1b811e.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 02c85e5cc..cef929c14 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