summaryrefslogtreecommitdiff
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
commit0f029ab5f844c6399584aec4f5e1cc352e8ab726 (patch)
tree46cca4ec66e8f677ad375b2ecc401827806875c8
parentd76efe15eb5718fb859df87ee12306bcbc56b07c (diff)
downloaddotemacs-0f029ab5f844c6399584aec4f5e1cc352e8ab726.tar.gz
dotemacs-0f029ab5f844c6399584aec4f5e1cc352e8ab726.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'.
-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