ConvexChatMessageHistory schema for langchain
messages schema is constructured and its relationship with ConvexChatMessageHistory. im currently using a
RunnableSequence and it doesn't save to memory. i have to manually do however, im running into the error below
to fix this, i had to modify the schema to
any idea why the input is having a diff structure when it tries to write to the db? thank you
