Free-Auto-GPT
Free-Auto-GPT copied to clipboard
customAgent.py file error
Running error with customAgent.py
file
Traceback (most recent call last): File "C:\Users\kashif.raza\OneDrive - Higher Education Commission (1)\1_Projects\Free-AUTO-GPT-with-NO-API\OtherAgent\customAgent.py", line 110, in <module> zero_shot_agent = initialize_agent( File "C:\Users\kashif.raza\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents\initialize.py", line 64, in initialize_agent return AgentExecutor.from_agent_and_tools( File "C:\Users\kashif.raza\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents\agent.py", line 557, in from_agent_and_tools return cls( File "pydantic\main.py", line 339, in pydantic.main.BaseModel.__init__ File "pydantic\main.py", line 1064, in pydantic.main.validate_model File "C:\Users\kashif.raza\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents\agent.py", line 565, in validate_tools tools = values["tools"] KeyError: 'tools'