ValueError: ZeroShotAgent does not support multi-input tool
Users of Langchain may experience an error message that states "ValueError: ZeroShotAgent does not support multi-input tool." This is because the agent is not compatible with tools that require multiple inputs.
Previously released versions of Langchain's agent were unable to handle multiple arguments. As a result, older agents will not be able to execute tools that require multiple inputs. For example, the conversational agent with a retrieval QA tool that requires "context" and "query" inputs will not be compatible with older versions of Langchain.
In newer versions of Langchain, the bug where the "Tool(func=some_func)" was inferred to be a multi-input function was fixed. Additionally, more complex signatures of tools such as playwright and file management are only compatible with new agents. The auto-gpt agent is an example of a new agent that can handle multiple arguments.
If you encounter this error, you can try downgrading Langchain to version 0.0.147 or creating a tool that requires only a single input. Alternatively, you may use a new agent such as the Autogpt agent or write your own agent for more complex tools.