Skip to content

NewAskOptions

Defined in: src/types.ts:253

Per-turn overrides for ask().

Properties

afterTurn?

optional afterTurn?: string

Defined in: src/types.ts:255

Continue from after this specific turn (enables branching).


maxIterations?

optional maxIterations?: number

Defined in: src/types.ts:259

Override maxIterations for this single ask() call.


model?

optional model?: ModelConfig

Defined in: src/types.ts:257

Override the model for this single ask() call.


signal?

optional signal?: AbortSignal

Defined in: src/types.ts:263

AbortSignal to cancel the turn mid-stream.


thinking?

optional thinking?: ThinkingConfig

Defined in: src/types.ts:261

Override thinking configuration for this single ask() call.