Closed thanhtran0302 closed 3 weeks ago
Hey @thanhtran0302 result from one task is automatically passed into the next, but you can force specific context to be passed by using the context
attribute.
@task
def review_code_quality(self) -> Task:
return Task(
config=self.tasks_config['review_code_quality'],
agent=self.reviewer_developer()
context=[self. transform_ugly_ternary()]
)
This is perfect ! Thank you !
Hi everyone, I'm new to CrewAI, and I juste generated a project with CrewAI CLI. And I'm trying to pass the result of the first agent's task, to another agent's input unsuccessfully.
Here is my crew.py file
Thank you !