You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gptel: Improve error extraction from JSON responses
Try a little harder to find error fields in JSON responses.
Eventually the error extractor can be a generic function with
API-specific methods, but it's not worth the complexity yet.
* gptel-curl.el (gptel-curl--stream-cleanup): Try looking inside
arrays for the error struct.
(gptel-curl--parse-response): Ditto.
* gptel.el (gptel--url-parse-response): Ditto.
0 commit comments