yanniedog / Autocrew

Automatically create a crew and tasks for CrewAI
Creative Commons Zero v1.0 Universal
184 stars 35 forks source link

misnaming of agents in Crew #12

Closed iplayfast closed 9 months ago

iplayfast commented 9 months ago
crew = Crew(
    agents=[PM, AIExpert, Cpp_Developer, QATester, ProductOwner],
    tasks=[task_PM, task_AI_Expert, task_Cpp_Developer, task_QA_Tester, task_Product_Owner],
    verbose=True,
    process=Process.sequential,
)```
should have been
```crew = Crew(
    agents=[PM, AI_Expert, Cpp_Developer, QA_Tester, ProductOwner],
    tasks=[task_PM, task_AI_Expert, task_Cpp_Developer, task_QA_Tester, task_Product_Owner],
    verbose=True,
    process=Process.sequential,
)
yanniedog commented 9 months ago

Could you give me more context? Do you get an error? Does CrewAI misinterpret the name of the agent?

iplayfast commented 9 months ago

Sorry, I should have given better context. My prompt was something like create a chess game in c++ and the crew had names generated that were not matched when the task was created. So for instance QATester was originally created as QA_Tester.

yanniedog commented 9 months ago

Thank you, yes I know where the problem is. I'll fix this

iplayfast commented 9 months ago

fixed