Definition
A stop sequence is a configured token pattern that ends model generation when encountered.
Distinguish it from nearby terms
A maximum-token limit stops by length; a semantic stopping condition depends on task state and may require external control.
Check your understanding
Explain why a textual stop sequence is not a security boundary for an action-taking agent.