crewAIInc / crewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://crewai.com
MIT License
19k stars 2.62k forks source link

load_tools(["human"]) Probem in 0.36.1 #1055

Closed probao closed 1 month ago

probao commented 1 month ago

When I use it in 0.36.1, I may find an error "I encountered an error while trying to use the tool. This was the error: HumanInputRun._run() got an unexpected keyword argument 'guess'. Tool human accepts these inputs: You can ask a human for guidance when you think you got stuck or you are not sure what to do next. The input should be a question for the human."

but when I use it in crewai=="0.30.0rc3" it runs well. Please fix the bug in 0.36.1

from langchain.agents import load_tools human_tools = load_tools(["human"])

theCyberTech commented 1 month ago

Hi @probao please upgrade to the latest version 0.41.1.

Is there a particular reason you are still on 0.36.1?

probao commented 1 month ago

Thanks I will try it