pai
    Preparing search index...

    Type Alias RouteRule

    One routing rule: when the condition in if holds, run the model use names.

    type RouteRule = {
        if: Record<string, string | number | boolean>;
        use: string;
    }
    Index
    if: Record<string, string | number | boolean>

    Exactly one condition, such as { pace: 'ahead' } or { input_tokens_over: 50000 }.

    use: string

    A model from the policy's models, or cheapest, first or next.