updated config according to langchain documentation
realized that while chat history was being correctly fetch from MongoDB and displayed on front-end, I wasn't updating messageState, and therefore not passing any chat history to chain.call when sending a mesasge. Whoops