I am currently building an AI agent according to what is in the langchain documentation (https://python.langchain.com/v0.1/docs/modules/agents/how_to/custom_agent/) on creating a custom agent but during the execution of the agent executor it returns a value error
ValueError: variable agent_scratchpad should be a list of base messages, got
Please help
I have searched langchain github repsoitory and saw some people with the same issues but i couldn’t find a solution
1