Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/agent / / PrepareStepOverrides

Interface: PrepareStepOverrides<TDeps>

Defined in: packages/agent/src/types.ts:101

Stable

Type Parameters

Type ParameterDefault type
TDepsunknown

Properties

PropertyModifierTypeDescriptionDefined in
maxTokens?readonlynumberOUTPUT-token ceiling for the next provider call - not a context or run budget. A ceiling too small for a tool call's argument JSON cuts the stream mid-call (finishReason: 'length') and the run fails with 'incomplete-tool-call'. Leave headroom for schema-driven tools with optional fields (256+ tokens is a safe floor for small ones).packages/agent/src/types.ts:114
provider?readonlyProvider-packages/agent/src/types.ts:102
temperature?readonlynumber-packages/agent/src/types.ts:105
toolChoice?readonlyToolChoice-packages/agent/src/types.ts:104
tools?readonlyreadonly AnyTool<TDeps>[]-packages/agent/src/types.ts:103