An interface that extends the ChainInputs interface and adds additional properties for the routerChain, destinationChains, defaultChain, and silentErrors. It represents the input expected by the MultiRouteChain class.

interface MultiRouteChainInput {
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    defaultChain: BaseChain<ChainValues, ChainValues>;
    destinationChains: {
        [name: string]: BaseChain;
    };
    memory?: BaseMemory;
    metadata?: Record<string, unknown>;
    routerChain: RouterChain;
    silentErrors?: boolean;
    tags?: string[];
    verbose?: boolean;
}

Hierarchy (view full)

Properties

callbackManager?: CallbackManager

Use callbacks instead

callbacks?: Callbacks
defaultChain: BaseChain<ChainValues, ChainValues>
destinationChains: {
    [name: string]: BaseChain;
}
memory?: BaseMemory
metadata?: Record<string, unknown>
routerChain: RouterChain
silentErrors?: boolean
tags?: string[]
verbose?: boolean