Open Agent Loops
API Reference

ModelRequest

@open-agent-loops/core


Defined in: model.types.ts:34

Everything the model needs to produce the next assistant turn.

Properties

PropertyTypeDescriptionDefined in
messagesMessage[]The conversation history to continue from.model.types.ts:38
signal?AbortSignalOptional signal to cancel the in-flight request.model.types.ts:42
system?stringOptional system prompt.model.types.ts:36
tools?ToolSpec[]Tools the model may call this turn, if any.model.types.ts:40

On this page