diff --git a/gptel.el b/gptel.el index 58678f5..5d0202f 100644 --- a/gptel.el +++ b/gptel.el @@ -348,8 +348,8 @@ INFO is a plist with the following keys: ((string-match-p "200 OK" status) (list :content (string-trim (decode-coding-string - (content (map-nested-elt - response '(:choices 0 :message :content))) + (map-nested-elt + response '(:choices 0 :message :content)) 'utf-8)) :status status)) ((plist-get response :error)