recommend_pattern
Method
This is a method of the WorkflowAutoGenerator class in the auto module.Recommend the best workflow pattern based on task characteristics.
Signature
Parameters
The task description (uses self.topic if not provided)
Returns
Recommended pattern namePattern recommendations based on Anthropic’s best practices:
- sequential: Clear step-by-step dependencies
- parallel: Independent subtasks that can run concurrently
- routing: Different input types need different handling
- orchestrator-workers: Complex tasks needing dynamic decomposition
- evaluator-optimizer: Tasks requiring iterative refinement

