© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Ekins Kuuzie
Data analyst/ medical doctor
ValueError: variable history should be a list of base messages, got
I get this error when I try to run the code . Anyone else getting this error ? How do I resolve it ?
farhan oc
I got same error, working on it, if i find a solution share with you :)
conversation_summary = ConversationChain( llm=llm, memory=ConversationBufferWindowMemory(k=10, return_messages=True), prompt=prompt_template, verbose=True )
update this line, it resolved my issue.