"response":"I can analyze stock data using moving averages and calculate percentage changes. For example: 'calculate moving average of [10,20,30,40,50] over 3 periods'"
}
# Only process if task is relevant to this agent
ifnotself.is_relevant_task(task):
return{
"agent":self.agent.agent_name,
"task":task,
"response":None# Indicate this agent should not handle this task
}
# Check if input is stock-related (for StockAnalyst)