import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; /** * Routing algorithm for this request. "capability" calls a small judge model to rate how demanding the task is, then picks the efficient or capable candidate. "stage" reads the tool-result history (errors, repeated failures, edits landing) and calls the judge only when those signals are undecided. "auto" is "stage" without the judge call. "random" picks one candidate at random. "composite" keeps the tier chosen on the last human turn and re-evaluates tool turns with the stage signals. "passthrough" serves the eligible candidates in the order OpenRouter already ranked them, with no routing decision and no judge call. Omit this field to use the platform default, capability. */ export declare const Algorithm: { readonly Capability: "capability"; readonly Stage: "stage"; readonly Auto: "auto"; readonly Random: "random"; readonly Composite: "composite"; readonly Passthrough: "passthrough"; }; /** * Routing algorithm for this request. "capability" calls a small judge model to rate how demanding the task is, then picks the efficient or capable candidate. "stage" reads the tool-result history (errors, repeated failures, edits landing) and calls the judge only when those signals are undecided. "auto" is "stage" without the judge call. "random" picks one candidate at random. "composite" keeps the tier chosen on the last human turn and re-evaluates tool turns with the stage signals. "passthrough" serves the eligible candidates in the order OpenRouter already ranked them, with no routing decision and no judge call. Omit this field to use the platform default, capability. */ export type Algorithm = OpenEnum; export type SwitchyardRouterPlugin = { /** * Routing algorithm for this request. "capability" calls a small judge model to rate how demanding the task is, then picks the efficient or capable candidate. "stage" reads the tool-result history (errors, repeated failures, edits landing) and calls the judge only when those signals are undecided. "auto" is "stage" without the judge call. "random" picks one candidate at random. "composite" keeps the tier chosen on the last human turn and re-evaluates tool turns with the stage signals. "passthrough" serves the eligible candidates in the order OpenRouter already ranked them, with no routing decision and no judge call. Omit this field to use the platform default, capability. */ algorithm?: Algorithm | undefined; id: "switchyard-router"; }; /** @internal */ export declare const Algorithm$outboundSchema: z.ZodType; /** @internal */ export type SwitchyardRouterPlugin$Outbound = { algorithm?: string | undefined; id: "switchyard-router"; }; /** @internal */ export declare const SwitchyardRouterPlugin$outboundSchema: z.ZodType; export declare function switchyardRouterPluginToJSON(switchyardRouterPlugin: SwitchyardRouterPlugin): string; //# sourceMappingURL=switchyardrouterplugin.d.ts.map