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