The messages history is currently managed by the client. Users have requested the ability to persist and mutate message history. This can be helpful for splicing long message history for improved model performance while maintaining context. This task is to document how to persist and mutate the message history.