Open Agent Loops
API Reference

StopContext

@open-agent-loops/core


Defined in: stop/conditions.types.ts:21

The per-turn snapshot passed to every StopCondition.

See

StopCondition

Properties

PropertyTypeDescriptionDefined in
assistantAssistantMessageThe assistant message produced this turn.stop/conditions.types.ts:25
messagesMessage[]Full working history at this point.stop/conditions.types.ts:29
stepnumber1-based count of model turns taken so far in this run.stop/conditions.types.ts:23
toolResultsToolMessage[]Tool-result messages produced this turn (empty if no tools ran).stop/conditions.types.ts:27

On this page