from llama_index.agent.openai import OpenAIAgent agent = OpenAIAgent.from_tools(chat_history=ADD_HERE,....)