ToolLoopGuardOptions
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/GthLangChainAgent.ts:136
EXT-36 — resolved knobs for createToolLoopGuardMiddleware.
Properties
Section titled “Properties”
optionalhalt?:boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/GthLangChainAgent.ts:140
End the run via jumpTo:'end' at threshold (opt-in, active loop-breaking). Default OFF.
threshold?
Section titled “threshold?”
optionalthreshold?:number
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/GthLangChainAgent.ts:142
Consecutive identical-signature repeats that trip the guard. Default DEFAULT_TOOL_LOOP_THRESHOLD.
optionalwarn?:boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/GthLangChainAgent.ts:138
Surface a user-visible notice at threshold (NO model-input mutation). Default ON.