emacs-openai / chatgpt

Use ChatGPT inside Emacs
GNU General Public License v3.0
185 stars 21 forks source link

[feature request] make prompt answers appear gradually #3

Closed benthamite closed 1 year ago

benthamite commented 1 year ago

Currently, prompt answers appear only after GPT is finished, rather than being displayed gradually, word by word. The latter seems preferable because one can read the answer immediately rather than have to wait 10–30 seconds for GPT to finish. Could this be implemented?

jcs090218 commented 1 year ago

You mean non-blocking inputs? Or the text animation? The text will be display immediately after it receives the response.

jcs090218 commented 1 year ago

The text animation is implemented in #4. LMKWYT? :D

benthamite commented 1 year ago

Thanks. I thought the animation wasn't merely cosmetic but that it reflected the pace at which GPT would deliver the text via the API. But it looks like I was mistaken? In any case, thanks for implementing this.

jcs090218 commented 1 year ago

Yeah, the text animation in unrelated to the request itself! Thank you for opening a feature request! 🚀 :D