# Interface PreferenceRouterConfig

Preference router configuration.

interface PreferenceRouterConfig {
strongModel: ModelTier;
weakModel: ModelTier;
routingThreshold: number;
minDataPoints: number;
maxDataPoints: number;
enableOnlineLearning: boolean;
domainThresholds?: Record<string, number>;
}

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:107

##### Index

### Properties

strongModel
weakModel
routingThreshold
minDataPoints
maxDataPoints
enableOnlineLearning
domainThresholds?

## Properties

### `Readonly` strongModel

strongModel: ModelTier

Strong model configuration

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:109

### `Readonly` weakModel

weakModel: ModelTier

Weak model configuration

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:111

### `Readonly` routingThreshold

routingThreshold: number

Threshold for routing to strong model (0-1)

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:113

### `Readonly` minDataPoints

minDataPoints: number

Minimum data points before using learned routing

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:115

### `Readonly` maxDataPoints

maxDataPoints: number

Maximum data points to store

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:117

### `Readonly` enableOnlineLearning

enableOnlineLearning: boolean

Whether to enable online learning

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:119

### `Optional` `Readonly` domainThresholds

domainThresholds?: Record<string, number>

Domain-specific threshold overrides

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:121