      const isCompletionMode = session.value.type === 'completion'

      // Try play the last bot message
      const lastCharChatLinesIxs = useSignal([]);
      const lastCharChatLinesIxsOld = useSignal([]);
      useEffect(() => {
        if (
          !isCompletionMode
          && lastCharChatLinesIxs.value.length !== lastCharChatLinesIxsOld.value.length
          && !generating.value
        ) {
          const ix = lastCharChatLinesIxs.value[lastCharChatLinesIxs.value.length - 1];
      