aboutsummaryrefslogtreecommitdiff
path: root/tests/test-ai-config--apply-model-selection.el
Commit message (Collapse)AuthorAgeFilesLines
* refactor(ai-config): extract gptel model-apply step, drop dead branchCraig Jennings22 hours1-0/+45
cj/gptel-change-model applied the selection inline (scope dispatch + message) and re-checked (stringp model) on a value already interned to a symbol. Extract cj/--gptel-apply-model-selection (scope backend model backend-name), which sets the vars globally or buffer-locally and returns the message; the dead stringp branch is gone. Adds direct coverage of both scopes.