When you install the latest version of Crew AI the following @router directive does not work:
@router(filter_leads, paths=["high", "medium", "low"])
def count_leads(self, scores):
if len(scores) > 10:
return 'high'
elif len(scores) > 5:
return 'medium'
else:
return 'low'
The paths argument being passed in is not allowed.