summaryrefslogtreecommitdiff
path: root/tests/testutil-ai-config.el
AgeCommit message (Collapse)Author
4 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 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>