export default function scrollToBottom(delay = 10, elementId = "chatList") {
  setTimeout(() => {
    console.log("滚下去");
    const element = document?.getElementById?.(elementId);
    // console.log(element?.scrollHeight);
    element?.scrollTo({
      top: element?.scrollHeight,
      behavior: "smooth",
    });
  }, delay);
}
 There should be exactly 3 paragraphs separated by the markdown divider: ***.
user