Closed daedsidog closed 3 months ago
Please see the docstring for gptel-post-response-functions
. It's an abnormal hook where each function is passed the bounds of the response.
Thanks, that was my fault.
Thanks, that was my fault.
No worries, the API changed at some point because it was much more useful to be able to access the response bounds for further processing.
Yep, I did it manually so far. Great change.
(add-hook 'gptel-post-response-functions (lambda () (message "hello")))
Then send a message in
gptel
, this results in:I'm on the latest commit. This also happens if I use
gptel-post-response-hook
.