Meshpocalypse Semantic
    Preparing search index...

    Interface CostAwareRoutingConfig

    Configuration for CostAwareRouter.

    interface CostAwareRoutingConfig {
        budgetId?: string;
        softLimitRatio?: number;
    }
    Index

    Properties

    budgetId?: string

    Optional default budget ID to check for utilisation. If omitted at construction time, callers may supply it per-call via options.budgetId. If neither is provided, no tier bias is applied.

    softLimitRatio?: number

    Soft limit threshold: when budget utilisation reaches this ratio, routing switches to ECONOMY preference. Default: 0.8 (80 %).