Skip to main content

Module models

Module models 

Source
Expand description

Model management module.

Provides:

  • Model registry with enable/disable
  • Cost tiers for intelligent model selection
  • Sub-agent model recommendations

Re-exports§

pub use failover::AuthProfile;
pub use failover::FailoverConfig;
pub use failover::FailoverManager;
pub use failover::FailoverStrategy;
pub use failover::HealthTracker;

Modules§

failover
Model failover and auth profile rotation.

Structs§

ModelEntry
A registered model with metadata.
ModelRegistry
Model registry — manages all available models.

Enums§

CostTier
Cost tier for a model — used to guide sub-agent model selection.
TaskComplexity
Task complexity hint for model selection.

Functions§

create_model_registry
Create a shared model registry.
generate_subagent_guidance
Generate system prompt section for sub-agent model selection guidance.

Type Aliases§

SharedModelRegistry
Shared model registry.