Hi, I am trying to build a flow that has 3 possible routes. The user selects an intent (2 possbile - analyze query, specific-task-1.)
-
Analyze Query : User has selected analyse query the, the crew runs the agent - query_analyser and task- query_analyser_task to find : query_intent, query_complexity, query_reformulation etc.,
-
specific-task-1: user selected specific-task-1, then a different crew is triggered but this crew uses the same query_analyser agent and query_analyser_task task.
How do I implement this without repeating the definitions for common agents and tasks? It doesn’t work when I try to use one common agent.yaml and task.yaml