aboutsummaryrefslogtreecommitdiff
path: root/modules/ai-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-03-09 23:40:26 -0500
committerCraig Jennings <c@cjennings.net>2026-03-09 23:40:26 -0500
commit0a8689c6de0dac9dd91cbb45b31d200fbeb60731 (patch)
tree769285d16a8ae1b422972c5de44519cc1f50bd8c /modules/ai-config.el
parentd628806092a128c86ae421b98af84eda90878f34 (diff)
downloaddotemacs-0a8689c6de0dac9dd91cbb45b31d200fbeb60731.tar.gz
dotemacs-0a8689c6de0dac9dd91cbb45b31d200fbeb60731.zip
fix(calendar-sync): handle variable-length date lists in RRULE UNTIL
date-to-time used (reverse date) which broke when RRULE UNTIL values were parsed as 5-element lists (year month day hour minute) from UTC timestamps. This caused recurring events with UTC UNTIL dates to expand to 0 occurrences, producing stale calendar entries.
Diffstat (limited to 'modules/ai-config.el')
-rw-r--r--modules/ai-config.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/ai-config.el b/modules/ai-config.el
index 651acc745..d3765ab8a 100644
--- a/modules/ai-config.el
+++ b/modules/ai-config.el
@@ -93,9 +93,10 @@ Call this only after loading `gptel' so the backend constructors exist."
"o1"
)
:stream t)))
- ;; Set default backend
+ ;; Set default backend and model
(unless gptel-backend
- (setq gptel-backend (or gptel-claude-backend gptel-chatgpt-backend))))
+ (setq gptel-backend (or gptel-claude-backend gptel-chatgpt-backend))
+ (setq gptel-model "claude-opus-4-6")))
;; ------------------ GPTel Conversation And Utility Commands ------------------
@@ -325,6 +326,7 @@ Works for any buffer, whether it's visiting a file or not."
(cj/ensure-gptel-backends)
;; Set Claude as default after initialization
(setq gptel-backend gptel-claude-backend)
+ (setq gptel-model "claude-opus-4-6")
(setq gptel-confirm-tool-calls nil) ;; allow tool access by default