Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'WrappedClass' object has no attribute #765

Open
vmsaif opened this issue Jun 12, 2024 · 1 comment
Open

AttributeError: 'WrappedClass' object has no attribute #765

vmsaif opened this issue Jun 12, 2024 · 1 comment

Comments

@vmsaif
Copy link
Contributor

vmsaif commented Jun 12, 2024

File "G:\ats_pass_ai\.venv\Lib\site-packages\crewai\project\annotations.py", line 38, in wrapper
    possible_task = getattr(self, task_name)
                    ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WrappedClass' object has no attribute 'generation_task'
PS G:\ats_pass_ai> 

This error occurs when trying to use multiple crews with crewai.projects. It is looking for tasks within other crews.

vmsaif added a commit to vmsaif/crewAI that referenced this issue Jun 12, 2024
@hiddenkirby
Copy link

Just passing along this workaround for now. #346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants