OptionalcontextHow many recent diarized turns the moderator sees. Default 30; clamped to ≤ 50.
OptionalmaxEach lookback turn is clipped to this many characters (token savings + a stable, cacheable prompt prefix). Default 240.
OptionalmaxOPTIONAL hard backstop on consecutive agent-only turns (no human turn between) before the room goes
quiet. null/absent (default) = no cap — rely on the moderator's own progress assessment to end
unproductive loops, so genuine agent↔agent discussion is never gated by a counter.
OptionalonBehavior when the moderator errors/times out: 'silent' (no one speaks — never spiral) or 'addressed-only' (cheap name-contains fallback). Default 'silent'.
OptionalprestageWhen true (default), run the NEXT moderator decision DURING the current agent's audio playback — the
model emits its full response text seconds before the user finishes hearing it, so the agent→agent
hand-off pays ~zero added latency. A human barge-in discards the pre-staged decision.
OptionalpromptThe moderator AI Prompt — an MJ: AI Prompts ID (authored as @lookup: in metadata, stored as the resolved ID).
OptionaltimeoutModerator call budget in ms; exceeding it triggers RealtimeModeratorConfig.onError. Default 800.
The room-wide turn-moderator settings (see RealtimeTurnTakingConfig.moderator). Absent fields fall back to REALTIME_MODERATOR_DEFAULTS.