text: Title: Buggy redo when using pinecone
  Body: When using pinecone, sometimes when redoing a message we see:
  <img width="423" alt="image" src="https://user-images.githubusercontent.com/21161101/211937057-f3840ee0-efa1-40c4-95d4-d2beb53a6b82.png">
  
  Towards the end, there's a blank "GPTie: <|endofstatement|>" message.
  
  Moreover, we need to ensure that embeddings are made for results of a redo.