Skip to content

RoutingResult

Defined in: scoring/router.ts:30

T = unknown

agent: string

Defined in: scoring/router.ts:34

Which agent handled the task


attempts: number

Defined in: scoring/router.ts:40

Number of attempts made


result: AgentResult<T>

Defined in: scoring/router.ts:36

The result from the agent


success: boolean

Defined in: scoring/router.ts:32

Whether the task was successfully completed


totalCost: number

Defined in: scoring/router.ts:38

Total cost incurred


trail: object[]

Defined in: scoring/router.ts:42

Trail of agents tried

agent: string

optional error: string

success: boolean