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

Crewai train does not work show error #1034

Closed USTAADCOM closed 1 month ago

USTAADCOM commented 1 month ago

$ crewai train -n 1 Training the crew for 1 iterations Traceback (most recent call last): File "", line 1, in AttributeError: module 'match_to_proposal.main' has no attribute 'train' An error occurred while training the crew: Command '['poetry', 'run', 'train', '1']' returned non-zero exit status 1.

USTAADCOM commented 1 month ago

the problem was to add a train method in the main.py