There's an issue with chat component when it won't move away from "processing" event on first message, if sent quickly to the UI. This is caused because of the `resetEvents` unmount effect in Chat.tsx, which is called between event processing. This unmount is caused, in turn, because after the first message, the route changes from `/agent/{id}` to `/session/id`. I'm not sure if the session id change is on purpose and why it's necessary.