text: Title: Buggy conversation edits when using pinecone
  Body: <img width="842" alt="image" src="https://user-images.githubusercontent.com/21161101/211927058-69bb3508-ed69-4e0d-923d-6f0ebe21c670.png">
  
  Sometimes, when editing a message in a conversation while pinecone is enabled, the bot will not properly delete the previous messages. 
  
  As an example, at the bottom: I said that I'm working on a discord bot, and then I said I'm working on a javascript project, the javascript project message was an edit, but the previous message wasn't cleared from the conversation history and was sent up again in the prompt, not sure why this is. 
  
  The messages above it were edits too that were copied. 
  
  It has something to do with when/how embeddings are made, especially for the message edit flow, when encapsulated_send is triggered by on_message_edit