You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ToolException Traceback (most recent call last) in <cell line: 87>()
94
95 # Invoke the agent with the user input and the current chat history
---> 96 response = agent_executor.invoke({"input": user_input})
97 # print(response)
98 print("Bot:", response["output"])
9 frames /usr/local/lib/python3.10/dist-packages/langchain_core/tools.py in _to_args_and_kwargs(self, tool_input)
723 all_args = list(args) + list(kwargs.values())
724 if len(all_args) != 1:
--> 725 raise ToolException(
726 f"""Too many arguments to single-input tool {self.name}.
727 Consider using StructuredTool instead."""
ToolException: Too many arguments to single-input tool Time.
Consider using StructuredTool instead. Args: []
The text was updated successfully, but these errors were encountered:
User: what is the time
ToolException Traceback (most recent call last)
in <cell line: 87>()
94
95 # Invoke the agent with the user input and the current chat history
---> 96 response = agent_executor.invoke({"input": user_input})
97 # print(response)
98 print("Bot:", response["output"])
9 frames
/usr/local/lib/python3.10/dist-packages/langchain_core/tools.py in _to_args_and_kwargs(self, tool_input)
723 all_args = list(args) + list(kwargs.values())
724 if len(all_args) != 1:
--> 725 raise ToolException(
726 f"""Too many arguments to single-input tool {self.name}.
727 Consider using StructuredTool instead."""
ToolException: Too many arguments to single-input tool Time.
Consider using StructuredTool instead. Args: []
The text was updated successfully, but these errors were encountered: