[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ChatGPT error (nil): Malformed JSON in response.
From: |
Hongyi Zhao |
Subject: |
Re: ChatGPT error (nil): Malformed JSON in response. |
Date: |
Sat, 20 May 2023 21:54:00 +0800 |
On Sat, May 20, 2023 at 9:18 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> Hi here,
>
> On Ubuntu 22.10, I updated my Emacs to its latest git master version,
> but found that gptel doesn't work for this version, as shown in the
> attached screenshot.
>
> Is this a bug of this package or Emacs itself?
I see the reason. In fact, it's caused by proxychains-ng, as described
here [1]. The simplest method would be commented out the culprit code
line and re-compile proxychains-ng as commented here [2], but I wonder
whether there is a more graceful solution from the Emacs side.
[1] https://github.com/karthink/gptel/issues/60#issuecomment-1555443386
[2] https://github.com/rofl0r/proxychains-ng/issues/511#issuecomment-1555726372
> See https://github.com/karthink/gptel/issues/60 for the related discussion.
>
> Regards,
> Zhao