Functions

debate

Function: debate()

debate(opts): Runner<{ message: string; }, string>

Defined in: src/patterns/Debate.ts:43

Build a Debate Runner. One debate "round" = Proposer → Critic. After N rounds, the Judge sees the final exchange and renders the verdict. The Judge's output is the Runner's return value.

Parameters

opts

DebateOptions

Returns

Runner<{ message: string; }, string>

On this page