Skip to main content

Module gates

Module gates 

Source
Expand description

Stop gates evaluated when the model returns a non-tool final message.

Structs§

CompletionToolGate
Require a named tool to have been called in this conversation.
GateChain
Composite of ordered gates (first Continue wins).

Enums§

GateDecision
Result of evaluating stop gates after a final assistant message.

Traits§

StopGate
Extensible stop-gate. Gates run in order; first non-GateDecision::Complete wins.

Functions§

evaluate_stop_gates
Evaluate configured gates for the agent against conversation history.