diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 15:34:07 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 15:34:07 -0500 |
| commit | 5a268fb36297800a204bed518f16ed7855700534 (patch) | |
| tree | 780be31e0bef6805353c35f3ec9d6299c915dd9b /tests/test-ai-vterm--dispatch.el | |
| parent | e76c9dffc7bd190af296130d0ebdedd1df4275c1 (diff) | |
| download | dotemacs-5a268fb36297800a204bed518f16ed7855700534.tar.gz dotemacs-5a268fb36297800a204bed518f16ed7855700534.zip | |
fix(ai-config): require gptel backend libs so the fork's constructors load
cj/toggle-gptel and gptel chat errored with "Symbol's function definition is void: gptel-make-anthropic". The local gptel fork on :load-path with :ensure nil ships no generated autoloads, so (require 'gptel) loads gptel.el but never gptel-anthropic.el or gptel-openai.el, where the gptel-make-* constructors live. cj/ensure-gptel-backends then reached gptel-make-anthropic before it was defined.
cj/ensure-gptel-backends now requires gptel-anthropic and gptel-openai first, through a small cj/--gptel-load-backend-libs helper. Verified end-to-end: with the fork on load-path, the constructors are fbound and both backends build.
Diffstat (limited to 'tests/test-ai-vterm--dispatch.el')
0 files changed, 0 insertions, 0 deletions
