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
commitf16fa4e42c0b414bf1a07e7d56eed661c2e49732 (patch)
tree055ece9537f81c9f25da917dac98dc29efbc0f53 /modules
parentbf82d98ad4c9609bc3e9fafef839b5f1f55dbd31 (diff)
downloaddotemacs-f16fa4e42c0b414bf1a07e7d56eed661c2e49732.tar.gz
dotemacs-f16fa4e42c0b414bf1a07e7d56eed661c2e49732.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