pub enum ModelFamily {
Fable,
Opus,
Sonnet,
Haiku,
Unknown,
}Expand description
The four current Claude model families.
Classified from an API identifier or a ModelSpec’s human-readable
name — distinct from ModelSpec::tier, which groups by
performance/capability rather than the model’s name.
Used to render a colour-coded glyph identifying which model a session is
running (omni-dev claude-wrap’s terminal-title rewrite, issue #1445): a
terminal tab title is plain text with no ANSI/theme-colour channel, so a
coloured circle emoji stands in for real colour. See
ModelRegistry::get_model_family.
Variants§
Fable
The Fable family (e.g. claude-fable-5).
Opus
The Opus family (e.g. claude-opus-4-8).
Sonnet
The Sonnet family (e.g. claude-sonnet-5).
Haiku
The Haiku family (e.g. claude-haiku-4-5).
Unknown
A known-but-unclassified, or entirely unrecognized, model id.
Implementations§
Trait Implementations§
Source§impl Clone for ModelFamily
impl Clone for ModelFamily
Source§fn clone(&self) -> ModelFamily
fn clone(&self) -> ModelFamily
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ModelFamily
Source§impl Debug for ModelFamily
impl Debug for ModelFamily
impl Eq for ModelFamily
Source§impl PartialEq for ModelFamily
impl PartialEq for ModelFamily
impl StructuralPartialEq for ModelFamily
Auto Trait Implementations§
impl Freeze for ModelFamily
impl RefUnwindSafe for ModelFamily
impl Send for ModelFamily
impl Sync for ModelFamily
impl Unpin for ModelFamily
impl UnsafeUnpin for ModelFamily
impl UnwindSafe for ModelFamily
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.