Open Agent Loops
API Reference

RunFn

@open-agent-loops/core


type RunFn = (options) => Promise<RunResult>;

Defined in: channels/dispatcher.types.ts:28

How the dispatcher executes one run. Defaults to runAgent; injectable so tests can drive it with a controllable fake instead of a real model.

Parameters

ParameterType
optionsRunAgentOptions

Returns

Promise<RunResult>

On this page