The ChatGPT website works differently than most websites. It uses streams to send data over the wire on token at a time. This is part of the HTTP protocol, so it's easy to implement. So that's what I've done.
Code: github.com/tom-on-the-internet/chat
コメント