[bug]langchain agent报错Invalid Format: Missing ‘Action Input:‘ after ‘Action:‘
在学习langchain的agent时候,采用ollama调用本地的deepseek-r1:32b来做一个agent,代码如下:defcreate_custom_agent():llm=ChatOllama(model="deepseek-r1:32b",temperature=0.5)memory=ConversationBufferWindowMemory(memory_key="chat_h