IF your feature request is related to a problem
I'd like to automatically change api-key on error, I have tried to hook into gptel--handle-error. But quota expiring response does not trigger the error handler.
Additional context
A gptel-log snippet and the current code to rotate api key is here:
https://gist.github.com/QiangF/5080eb98fa3c70379aa9517720b7f8f1
IF your feature request is related to a problem
I'd like to automatically change api-key on error, I have tried to hook into gptel--handle-error. But quota expiring response does not trigger the error handler.
Additional context
A gptel-log snippet and the current code to rotate api key is here:
https://gist.github.com/QiangF/5080eb98fa3c70379aa9517720b7f8f1