Interface: ObjectOptions<TTools>
Defined in: packages/workflow-engine/src/ai/types.ts:415
Type Parameters
TTools
TTools extends ToolSet = ToolSet
Properties
abortSignal?
optionalabortSignal?:AbortSignal
Defined in: packages/workflow-engine/src/ai/types.ts:421
Abort signal to cancel the AI SDK call (pass-through)
maxRetries?
optionalmaxRetries?:number
Defined in: packages/workflow-engine/src/ai/types.ts:419
Maximum number of retries for the AI SDK call (pass-through)
maxTokens?
optionalmaxTokens?:number
Defined in: packages/workflow-engine/src/ai/types.ts:417
onStepEnd?
optionalonStepEnd?:GenerateTextOnStepEndCallback<NoInfer<ToolSet>,NoInfer<Context>>
Defined in: packages/workflow-engine/src/ai/types.ts:429
Callback fired when each step completes (for collecting tool results)
providerOptions?
optionalproviderOptions?:Record<string,Record<string,unknown>>
Defined in: packages/workflow-engine/src/ai/types.ts:434
Provider-specific options passed directly to the AI SDK call (e.g.
{ anthropic: { thinking: { type: "disabled" } } }).
stopWhen?
optionalstopWhen?:Arrayable<StopCondition<NoInfer<ToolSet>,Context>>
Defined in: packages/workflow-engine/src/ai/types.ts:427
Condition to stop tool execution (e.g., stepCountIs(3))
temperature?
optionaltemperature?:number
Defined in: packages/workflow-engine/src/ai/types.ts:416
timeoutMs?
optionaltimeoutMs?:number
Defined in: packages/workflow-engine/src/ai/types.ts:423
Override the helper-level per-call timeout.
tools?
optionaltools?:TTools
Defined in: packages/workflow-engine/src/ai/types.ts:425
Tool definitions for the model to use