pub struct BundleConfig {
pub about: Option<String>,
pub applies_to: Vec<String>,
pub default_profile: Option<String>,
pub families: BTreeMap<String, String>,
}Expand description
One named bundle ([bundles.<name>]) — the loadable unit of the model support
kit. It pins which model families it applies to and which profile each resolves
to, shipping the [profiles.*] it references.
[bundles.nemotron]
about = "Support bundle for the nemotron family"
applies_to = ["nemotron"] # longest-prefix-wins; "nemotron3:33b" matches
default_profile = "nemotron"
families = { "nemotron" = "nemotron", "qwen" = "qwen-coder" }A bundle carries no authority — there is deliberately no caveats/preset
field; it recombines vetted parts, it cannot grant (docs/design/model-support-kit.md).
Fields§
§about: Option<String>One-line provenance, shown in the startup banner.
applies_to: Vec<String>Model-id prefixes this bundle auto-applies to (longest-prefix-wins). Empty ⇒
a use-case bundle: chosen only via explicit --bundle, never auto-inferred.
default_profile: Option<String>Profile applied when this bundle is selected and no families entry matches.
Must name a key in [profiles.*]. None ⇒ no profile (the light path).
families: BTreeMap<String, String>model-family-prefix → profile name (longest-prefix-wins over default_profile).
Trait Implementations§
Source§impl Clone for BundleConfig
impl Clone for BundleConfig
Source§fn clone(&self) -> BundleConfig
fn clone(&self) -> BundleConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BundleConfig
impl Debug for BundleConfig
Source§impl Default for BundleConfig
impl Default for BundleConfig
Source§fn default() -> BundleConfig
fn default() -> BundleConfig
Source§impl<'de> Deserialize<'de> for BundleConfig
impl<'de> Deserialize<'de> for BundleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for BundleConfig
Source§impl PartialEq for BundleConfig
impl PartialEq for BundleConfig
Source§fn eq(&self, other: &BundleConfig) -> bool
fn eq(&self, other: &BundleConfig) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for BundleConfig
impl Serialize for BundleConfig
impl StructuralPartialEq for BundleConfig
Auto Trait Implementations§
impl Freeze for BundleConfig
impl RefUnwindSafe for BundleConfig
impl Send for BundleConfig
impl Sync for BundleConfig
impl Unpin for BundleConfig
impl UnsafeUnpin for BundleConfig
impl UnwindSafe for BundleConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more