# Interface ContextPrunerConfig

Configuration for ContextPruner.

interface ContextPrunerConfig {
contextManager: ContextManager;
adapter?: IModelAdapter;
logger?: ILogger;
defaultStrategy?: PruningStrategy;
minItemsPerCategory?: number;
protectedPriority?: ContentPriority;
autoTriggerThreshold?: number;
}

- Defined in packages/nexus-agents/src/agents/context-pruner.ts:54

##### Index

### Properties

contextManager
adapter?
logger?
defaultStrategy?
minItemsPerCategory?
protectedPriority?
autoTriggerThreshold?

## Properties

### contextManager

contextManager: ContextManager

- Defined in packages/nexus-agents/src/agents/context-pruner.ts:55

### `Optional` adapter

adapter?: IModelAdapter

- Defined in packages/nexus-agents/src/agents/context-pruner.ts:56

### `Optional` logger

logger?: ILogger

- Defined in packages/nexus-agents/src/agents/context-pruner.ts:57

### `Optional` defaultStrategy

defaultStrategy?: PruningStrategy

- Defined in packages/nexus-agents/src/agents/context-pruner.ts:58

### `Optional` minItemsPerCategory

minItemsPerCategory?: number

- Defined in packages/nexus-agents/src/agents/context-pruner.ts:59

### `Optional` protectedPriority

protectedPriority?: ContentPriority

- Defined in packages/nexus-agents/src/agents/context-pruner.ts:60

### `Optional` autoTriggerThreshold

autoTriggerThreshold?: number

- Defined in packages/nexus-agents/src/agents/context-pruner.ts:61