Skip to content

AskOptions

Defined in: src/types.ts:352

Per-turn overrides for ask().

Properties

afterTurn?

optional afterTurn?: string

Defined in: src/types.ts:354

Continue from after this specific turn (enables branching).


maxIterations?

optional maxIterations?: number

Defined in: src/types.ts:358

Override maxIterations for this single ask() call.


model?

optional model?: ModelConfig

Defined in: src/types.ts:356

Override the model for this single ask() call.


signal?

optional signal?: AbortSignal

Defined in: src/types.ts:362

AbortSignal to cancel the turn mid-stream.


thinking?

optional thinking?: ThinkingConfig

Defined in: src/types.ts:360

Override thinking configuration for this single ask() call.