An error occurred: BaseTool.__call__() missing 1 required positional argument: 'tool_input' #27864
Replies: 1 comment 1 reply
-
I found similar discussions related to the error you're encountering:
Additionally, there was a related issue that has been closed: Langchain Tools: TypeError: BaseTool.invoke() takes from 2 to 3 positional arguments but 4 were given. The suggested solution for a similar problem was to ensure that the shell_tool.invoke(input={"command": 'python sum.py', "script_args": None, "inputs": '5\n'}) In your case, it seems like the error might be due to how the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The tool is expecting an argument, but I haven't provided one. Why is that?
Beta Was this translation helpful? Give feedback.
All reactions