Interface: BatchConfig<TBot>
Defined in: packages/core/src/batch.ts:15
Type Parameters
TBot
TBot
Properties
bot
bot:
TBot
Defined in: packages/core/src/batch.ts:16
concurrency?
optionalconcurrency?:number
Defined in: packages/core/src/batch.ts:17
failFast?
optionalfailFast?:boolean
Defined in: packages/core/src/batch.ts:18
providerBatch?
optionalproviderBatch?:boolean|ProviderBatchOptions
Defined in: packages/core/src/batch.ts:25
Send the items' model calls to their providers' batch endpoints —
asynchronous, roughly half price, results in minutes to hours. true
uses the defaults; see ProviderBatchOptions. Providers without a
batch endpoint make live calls unless fallback: 'error'.