Fix Creating-a-Crew-and-kick-it-off.md so it can run (#280)

* Fix Creating-a-Crew-and-kick-it-off.md

- Update deps to include `crewai[tools]`
- Remove invalid `max_inter` arg from Task constructor call

* Update Creating-a-Crew-and-kick-it-off.md

---------

Co-authored-by: João Moura <joaomdmoura@gmail.com>
This commit is contained in:
BR
2024-02-27 12:23:19 -05:00
committed by GitHub
parent a8aec58460
commit 5d56c692ab

View File

@@ -11,6 +11,7 @@ Install CrewAI and any necessary packages for your project. The `duckduckgo-sear
```shell ```shell
pip install crewai pip install crewai
pip install crewai[tools]
pip install duckduckgo-search pip install duckduckgo-search
``` ```
@@ -68,7 +69,6 @@ research_task = Task(
Your final report should clearly articulate the key points, Your final report should clearly articulate the key points,
its market opportunities, and potential risks.""", its market opportunities, and potential risks.""",
expected_output='A comprehensive 3 paragraphs long report on the latest AI trends.', expected_output='A comprehensive 3 paragraphs long report on the latest AI trends.',
max_inter=3,
tools=[search_tool], tools=[search_tool],
agent=researcher, agent=researcher,
) )