Duck Iteration
duck_iterateRefine a response through alternating rounds of generation and critique between two AI ducks, improving output quality step by step.
Instructions
Iteratively refine a response between two ducks. One generates, the other critiques/improves, alternating for multiple rounds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The initial prompt/task to iterate on | |
| iterations | No | Number of iteration rounds (default: 3, max: 10) | |
| providers | Yes | Exactly 2 provider names for the ping-pong iteration | |
| mode | Yes | refine: each duck improves the previous response. critique-improve: alternates between critiquing and improving. |