Open Agent Loops
API Reference

ModelGraderOptions

@open-agent-loops/core


Defined in: goal/model-grader.ts:24

Construction options for modelGrader.

Properties

PropertyTypeDescriptionDefined in
modelModelClientThe grader model — typically a small, fast one, separate from the agent.goal/model-grader.ts:26
system?stringOverride the grading system prompt. The default instructs the model to return only a { done, score, feedback } JSON verdict.goal/model-grader.ts:31

On this page