speculate
Auto-generated API reference for speculate.
Function: speculate()
speculate(
input):Promise<SpeculateOutput>
Defined in: speculate.ts:85
Fan out a request to N adapters in parallel, then pick the winner. Common pattern: run a cheap+fast model alongside a slow+accurate one and take whichever finishes first, or use a custom picker to score results (e.g. pick longest, most-on-topic, lowest cost).
#Parameters
#input
#Returns
Promise<SpeculateOutput>