Replies: 2 comments
-
the agents and takes are added as parameters to the crew instance, this is how it should work In a task the agent is an expected attribute which links the task to the agent |
Beta Was this translation helpful? Give feedback.
0 replies
-
The agent attribute at the task is optional, not mandatory |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
######Example:
task2 = Task(
description="""Using the insights provided, develop an engaging blog
post that highlights the most significant AI advancements.
Your post should be informative yet accessible, catering to a tech-savvy audience.
Make it sound cool, avoid complex words so it doesn't sound like AI.""",
expected_output="Full blog post of at least 4 paragraphs",
agent=writer
)
crew = Crew(
agents=[researcher, writer],
tasks=[task1, task2],
verbose=2, # You can set it to 1 or 2 to different logging levels
)
We can see agents both apear in Crew and Task
Beta Was this translation helpful? Give feedback.
All reactions