aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/face_data.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-16 00:14:17 -0500
committerCraig Jennings <c@cjennings.net>2026-06-16 00:14:17 -0500
commit2e71594ebad7d8636b39ca65a260307733ac2def (patch)
tree47dab2a99c1c39a5e5d1e1f71c751621752916da /scripts/theme-studio/face_data.py
parent8a1ae3ba99b8f93a9af32cd7aa5ccc7d50dbbaf3 (diff)
downloaddotemacs-2e71594ebad7d8636b39ca65a260307733ac2def.tar.gz
dotemacs-2e71594ebad7d8636b39ca65a260307733ac2def.zip
fix(ai-config): intern model in gptel-switch-backend (modeline hang)
cj/gptel-switch-backend set gptel-model to the raw completing-read string. gptel's modeline code calls symbolp on gptel-model and signals wrong-type-argument on a string, which surfaces as a redisplay hang (reachable from C-; a B). The sibling command cj/gptel-change-model already interns. This one didn't. I added a pure cj/gptel--model-to-symbol helper (mirroring cj/gptel--model-to-string) and route the model through it before the setq. The existing switch-backend test asserted the buggy string value. It now asserts a symbol plus an explicit symbolp guard.
Diffstat (limited to 'scripts/theme-studio/face_data.py')
0 files changed, 0 insertions, 0 deletions