Skip to main content

ModelOperationalDefaultsResolver

Trait ModelOperationalDefaultsResolver 

Source
pub trait ModelOperationalDefaultsResolver: Send + Sync {
    // Required method
    fn call_timeout_for(&self, provider: &str, model: &str) -> Option<Duration>;
}
Expand description

Resolver for model-specific operational defaults.

Implemented by the facade/factory layer using meerkat-models::profile::profile_for(...). Injected into the agent at build time and consulted at each LLM call to resolve profile-derived defaults for the current effective model/provider.

Required Methods§

Source

fn call_timeout_for(&self, provider: &str, model: &str) -> Option<Duration>

Return the profile-derived default call timeout for the given model/provider, or None if the model is unknown or has no profiled default.

Implementors§