summaryrefslogtreecommitdiff
path: root/modules/ai-config.el
AgeCommit message (Collapse)Author
40 hoursfix(calendar-sync): handle variable-length date lists in RRULE UNTILCraig Jennings
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.
5 daysrefactor(gptel): extract model-list and selection logic for testabilityCraig Jennings
- Extract cj/gptel--build-model-list from cj/gptel-change-model - Extract cj/gptel--current-model-selection from cj/gptel-change-model - Add test-ai-config-build-model-list.el (9 tests) - Add test-ai-config-current-model-selection.el (8 tests) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 daysrefactor(gptel): lazy-load gptel-magit, rebind rewrite/context keysCraig Jennings
- Replace use-package gptel-magit hook with autoloads via with-eval-after-load 'magit (loads gptel only on key press) - Move org header defuns above use-package to fix load order - Set gptel-include-reasoning to "*AI-Reasoning*" buffer - Rebind rewrite to C-; a r, clear context to C-; a c - Add test-ai-config-gptel-magit-lazy-loading.el (8 tests) - Mark all ai-config cleanup items DONE in todo.org Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 daysrefactor(gptel): move config defuns to top level, rebind keys, set reasoningCraig Jennings
- Move cj/gptel--fresh-org-prefix, cj/gptel--refresh-org-prefix, cj/gptel-backend-and-model, cj/gptel-insert-model-heading out of use-package :config to top level (fixes byte-compile warnings) - Set gptel-include-reasoning to "*AI-Reasoning*" buffer - Rebind rewrite to C-; a r, clear context to C-; a c - Update todo.org with completed cleanup items Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 daystest(gptel): add unit tests for ai-config, remove dead cj/gptel-backendsCraig Jennings
- Add testutil-ai-config.el with gptel stubs for batch testing - Add tests for cj/gptel--model-to-string (9 tests) - Add tests for cj/gptel--fresh-org-prefix (8 tests) - Add tests for cj/gptel-backend-and-model (8 tests) - Remove dead cj/gptel-backends defvar (duplicates cj/gptel--available-backends) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 daysfix(gptel): fix docstring warnings, rename model->string to model-to-stringCraig Jennings
- Escape single quote in cj/ensure-gptel-backends docstring - Wrap cj/gptel--available-backends docstring to 80 chars - Add missing docstring to cj/gptel--model-to-string - Rename cj/gptel--model->string to cj/gptel--model-to-string - Mark stale model list task as DONE in todo.org Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 daysfix(gptel): remove duplicate backend setter, fix commentary keybindingsCraig Jennings
Remove redundant gptel-backend setq and orphaned section header. Fix commentary keybinding references: M-a → C-; a, correct buffer add (.) and rewrite (&) bindings.
5 daysfeat(gptel): update Claude models, fix default system promptCraig Jennings
Update Anthropic model list to current: claude-opus-4-6, claude-sonnet-4-6, claude-haiku-4-5-20251001. Fix gptel--system-message not picking up the custom default.org directive (defvar set at load time before gptel-prompts replaces the default entry). Add cleanup tasks for ai-config, calibredb, and slack reaction workflow to todo.org.
2026-02-03chore(ai-config): switch default gptel backend to ClaudeCraig Jennings
2026-01-24fix(ai-config): remove redundant autoload for cj/toggle-gptelCraig Jennings
2025-10-27feat:which-key: Add descriptive labels for custom keymapsCraig Jennings
Enhance which-key integration by providing detailed descriptions for new key bindings across multiple modules. This improves the usability of custom keymaps by clarifying the purpose of each keybinding, making it easier for users to navigate and understand different menus and options available within the configuration. This update ensures that all custom keymaps now display a descriptive label in the which-key popup to explain their functionality, aiding users in identifying keymap purposes promptly.
2025-10-23refactor: unify and simplify key binding setupsCraig Jennings
Optimized key binding configurations across modules for consistency and reduced redundancy. Improved conditional requiring to handle errors gracefully in `music-config.el`, ensuring robustness across different machine environments. Eliminated comments clutter and adjusted function definitions to adhere to revised standards.
2025-10-20chore: ai-config: migrate key bindings to keymap-set functionCraig Jennings
Switch key bindings from define-key to the keymap-set function for improved clarity and modern syntax within the AI operations keymap.
2025-10-12changing repositoriesCraig Jennings