Should I use REST or WebSockets for an AI chat app? · PitHub