When i change the config files, crew.py and main.py i get the following error #1618
Unanswered
ShreeshaBhat1004
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\User\liberatas.venv\Scripts\run_crew.exe_main.py", line 8, in
File "C:\Users\User\liberatas\src\liberatas\main.py", line 21, in run
ResearchCrew().crew().kickoff(inputs=inputs)
^^^^^^^^^^^^^^
File "C:\Users\User\liberatas.venv\Lib\site-packages\crewai\project\crew_base.py", line 35, in init
self.map_all_task_variables()
File "C:\Users\User\liberatas.venv\Lib\site-packages\crewai\project\crew_base.py", line 145, in map_all_task_variables
self._map_task_variables(
File "C:\Users\User\liberatas.venv\Lib\site-packages\crewai\project\crew_base.py", line 178, in _map_task_variables
self.tasks_config[task_name]["agent"] = agentsagent_name
~~~~~~^^^^^^^^^^^^
KeyError: 'researcher'
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 1.
Beta Was this translation helpful? Give feedback.
All reactions