Models

How it works

LLM authentication, provider routing, and tier management.

The main building blocks are:

Under the hood, this feature spans 22 source files covering:

What connects to it

This feature relates to: models, auth, llm.

Other parts of the codebase interact with models through these interfaces:

Interface Purpose File
ModelPerformance Performance metrics for a model on a specific task. src/attune/models/adaptive_routing.py
AdaptiveModelRouter Route tasks to models based on historical telemetry performance. src/attune/models/adaptive_routing.py
SubscriptionTier Claude subscription tiers. src/attune/models/auth_strategy.py
AuthMode Authentication mode selection. src/attune/models/auth_strategy.py
AuthStrategy Authentication strategy configuration. src/attune/models/auth_strategy.py