abvijaykumar / crewai-blogs

15 stars 4 forks source link

This code generates phantom co-workers? #1

Open tholonia opened 5 months ago

tholonia commented 5 months ago

Your post is one of the best I have found for people trying to understand deploy AI... however, I can' t seem to run it. An untouched copy of your code produces an error after every researcher agent call (on every task call, it seeks)

Action 'Delegate work to coworker (Internet Research)' don't exist
Action 'Ask question to coworker (Internet Research)' don't exist
Action 'Ask question to coworker (Internet Research)' don't exist
Action 'Ask question to coworker (Internet Research)' don't exist
Action 'Ask question to coworker (Internet Research)' don't exist
Action 'Delegate work to co-worker (Internet Research)' don't exist
Action 'Ask question to co-worker (Internet Research)' don't exist
Action 'Ask question to co-worker (Internet Research)' don't exist
Action 'Delegate work to co-worker (Internet Research)' don't exist
Action 'Delegate work to co-worker (Internet Research)' don't exist
Action 'Delegate work to co-worker (Internet Research)' don't exist
Action 'Ask question to co-worker (Internet Research)' don't exist
Action 'Ask question to co-worker (Colleague Name)' don't exist
Action 'Ask question to co-worker (Colleague Name)' don't exist
Action 'Ask question to co-worker (Colleague Name)' don't exist
Action 'Ask question to co-worker (John Doe)' don't exist
Action 'Ask question to co-worker (John Doe)' don't exist
Action 'Ask question to co-worker (John Doe)' don't exist
Action 'Ask question to co-worker (John Doe)' don't exist
Action 'Ask question to co-worker (John Doe)' don't exist
Action 'Ask question to co-worker (John Doe)' don't exist
Action 'Ask question to co-worker (John Doe)' don't exist
Action 'N/A (I won't use a tool this time as it's time to give the final answer)' don't exist

Have you seen something like this before?

abvijaykumar commented 5 months ago

HI - I am not sure what is happening, it still works well for me. Can u make sure you are using the right python venv. My suggestion is to create a new venv, and then download the code, install the dependencies in requirements.txt, and then try again