chat request handling