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 Parameter | Default type |
|---|---|
TDeps | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
maxTokens? | readonly | number | OUTPUT-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? | readonly | Provider | - | packages/agent/src/types.ts:102 |
temperature? | readonly | number | - | packages/agent/src/types.ts:105 |
toolChoice? | readonly | ToolChoice | - | packages/agent/src/types.ts:104 |
tools? | readonly | readonly AnyTool<TDeps>[] | - | packages/agent/src/types.ts:103 |