ParallelDispatchResult
Defined in: packages/ai.matey.types/src/router.ts:454
Result of parallel dispatch.
Properties
Section titled “Properties”allResponses?
Section titled “allResponses?”
readonlyoptionalallResponses:object[]
Defined in: packages/ai.matey.types/src/router.ts:463
All responses (only for ‘all’ strategy).
backend
Section titled “backend”
readonlybackend:string
latencyMs
Section titled “latencyMs”
readonlylatencyMs:number
response
Section titled “response”
readonlyresponse:IRChatResponse
failedBackends
Section titled “failedBackends”
readonlyfailedBackends:object[]
Defined in: packages/ai.matey.types/src/router.ts:477
Backends that failed.
backend
Section titled “backend”
readonlybackend:string
readonlyerror:AdapterError
response
Section titled “response”
readonlyresponse:IRChatResponse
Defined in: packages/ai.matey.types/src/router.ts:458
Primary response (based on strategy).
successfulBackends
Section titled “successfulBackends”
readonlysuccessfulBackends: readonlystring[]
Defined in: packages/ai.matey.types/src/router.ts:472
Backends that succeeded.
totalTimeMs
Section titled “totalTimeMs”
readonlytotalTimeMs:number
Defined in: packages/ai.matey.types/src/router.ts:485
Total time for parallel dispatch (milliseconds).