pub async fn run_review_loop(
llm: Arc<dyn LLMProviderTrait>,
config: Config,
ravenfabric: Option<RavenFabricClient>,
pattern_config: PatternConfig,
) -> Result<()>Expand description
Run a producer-reviewer loop that iterates until quality is met.
A producer agent creates content, a reviewer agent critiques it, and the producer revises based on feedback. Repeats until the reviewer approves or max iterations reached.