NewAskOptions
Defined in: src/types.ts:253
Per-turn overrides for ask().
Properties
afterTurn?
optionalafterTurn?:string
Defined in: src/types.ts:255
Continue from after this specific turn (enables branching).
maxIterations?
optionalmaxIterations?:number
Defined in: src/types.ts:259
Override maxIterations for this single ask() call.
model?
optionalmodel?:ModelConfig
Defined in: src/types.ts:257
Override the model for this single ask() call.
signal?
optionalsignal?:AbortSignal
Defined in: src/types.ts:263
AbortSignal to cancel the turn mid-stream.
thinking?
optionalthinking?:ThinkingConfig
Defined in: src/types.ts:261
Override thinking configuration for this single ask() call.