Skip to main content

kernel/profiles/
mod.rs

1//! Per-model configuration: the parameter schema a model exposes, merging saved
2//! values and the system prompt into requests, and context-window budgeting.
3
4pub mod configuration;
5pub mod context_budget;
6pub mod fit;
7pub mod profile;
8
9pub use configuration::{dropping_vanished_param_values, merged, normalized_param_values};
10pub use context_budget::{
11    BUILTIN_CONTEXT_WINDOW, COMPLETION_FLOOR, Verdict, assess, effective_window, estimated_tokens,
12    prompt_characters, stored_context_length,
13};
14pub use fit::{FitAssessment, FitVerdict};
15pub use profile::{ModelProfile, ProfileRegistry, context_length_spec};