karthink / gptel

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

gptel-request + streaming #64

Closed kamushadenes closed 1 year ago

kamushadenes commented 1 year ago

First of all, awesome project! I was using chatgpt-arcana and loving it, but came here specifically for the streaming completion. Thanks for putting the time and effort on that.

I want to integrate gptel with some other functions I have, and I managed to do so using gptel-request, but I was not able to find a way to stream the responses.

Can you give me a light, please?

Thank you!

kamushadenes commented 1 year ago

Never mind! It was simply a matter of passing :stream t and ensuring that I use (goto-char (point-max))!