karthink / gptel

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

(OpenAI) (Curl only) Response in log but but not in buffer #254

Closed karthink closed 3 months ago

karthink commented 3 months ago
          I have the same issue.

With streaming I can see the streamed response in the log but I still get the "Emtpy Response" message.

dot not work:

(setq gptel-use-curl t
         gptel-stream nil)

works:

(setq gptel-use-curl nil)

Originally posted by @stfl in https://github.com/karthink/gptel/issues/251#issuecomment-1999446760

karthink commented 3 months ago

@freddez is it resolved with the latest commit?

freddez commented 3 months ago

Absolutely !

Le ven. 15 mars 2024, 17:34, karthink @.***> a écrit :

@freddez https://github.com/freddez is it resolved with the latest commit?

— Reply to this email directly, view it on GitHub https://github.com/karthink/gptel/issues/254#issuecomment-2000033370, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHR7XXBUAWIPGW5LVEFAA3YYMPLHAVCNFSM6AAAAABEYJZGHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGAZTGMZXGA . You are receiving this because you were mentioned.Message ID: @.***>

karthink commented 3 months ago

@stfl Please update and test, it looks like it should be resolved.

stfl commented 3 months ago

It works for me now with

(setq gptel-use-curl t
      gptel-stream t)

as well as

(setq gptel-use-curl t
      gptel-stream nil)
stfl commented 3 months ago

Thank you for getting this fixed so quickly.