summaryrefslogtreecommitdiff
path: root/docs/python-treesit-predicate-mismatch.txt
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 01:26:28 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 01:26:28 -0500
commitb231fd655f7e3d4037c424fd71e506ef371d871a (patch)
tree8ce385183c6fabeb4bfbd59dc1faffeba3de3edc /docs/python-treesit-predicate-mismatch.txt
parent07e0f0b897128cc9d3ea3cb40a12283d6582c0a1 (diff)
downloaddotemacs-b231fd655f7e3d4037c424fd71e506ef371d871a.tar.gz
dotemacs-b231fd655f7e3d4037c424fd71e506ef371d871a.zip
test(ai-config): cover gptel switch/add/toggle commands + small helpers
Second pass on ai-config. First batch covered the auth-source, API-key caching, file-context, clear-buffer, context-clear, and model-heading helpers. This batch covers the gptel command wrappers and a couple of small helpers: - `cj/gptel--refresh-org-prefix`: refreshes the org-mode entry in `gptel-prompt-prefix-alist`. - `cj/gptel-backend-and-model`: formats a vector-backend's name + the current model + a timestamp; falls back to "AI:" when no backend is bound. - `cj/gptel-switch-backend`: picks a backend and one of its models, updates both gptel vars; errors on an invalid backend choice. - `cj/gptel-add-buffer-file`: hands the visited file off to `cj/gptel--add-file-to-context`, messages otherwise. - `cj/gptel-add-this-buffer`: calls `gptel-add` with the (4) prefix-arg. - `cj/toggle-gptel`: deletes the window when *AI-Assistant* is already shown. gptel and projectile primitives are stubbed throughout.
Diffstat (limited to 'docs/python-treesit-predicate-mismatch.txt')
0 files changed, 0 insertions, 0 deletions