add Task model and auto scroll bottom in chat window