karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.04k stars 113 forks source link

`error in process filter: Wrong type argument: stringp, nil` when killing buffer while receiving response #225

Open unhammer opened 4 months ago

unhammer commented 4 months ago

I was disappointed with the start of the response and killed the buffer in exasperation, this gave me repeated

error in process filter: Wrong type argument: stringp, nil

in *Messages* .

Preferably the request should be cancelled when the buffer no longer exists.

karthink commented 4 months ago

Yes, I'll add this, thanks.

Note that you don't need to kill the buffer to stop the response, however. You can run M-x gptel-abort.

On Wed, Feb 28, 2024, 2:14 AM Kevin Brubeck Unhammer < @.***> wrote:

I was disappointed with the start of the response and killed the buffer in exasperation, this gave me repeated

error in process filter: Wrong type argument: stringp, nil

in Messages .

Preferably the request should be cancelled when the buffer no longer exists.

— Reply to this email directly, view it on GitHub https://github.com/karthink/gptel/issues/225, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBVOLAEIP5R7B4LSNKDTKTYV37P7AVCNFSM6AAAAABD5XAJKGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TQNJZGM2DSMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>