pub enum ModelRole {
Default,
Smol,
Slow,
Vision,
Plan,
Designer,
Commit,
Title,
Task,
Advisor,
}Expand description
The 10 built-in model roles, ported verbatim from omp’s ModelRole.
Variants§
Default
Main conversational model.
Smol
Small / fast / cheap model — background tasks, quick completions.
Slow
Heavy reasoning (“thinking”) model.
Vision
Image-input (“vision”) capable model.
Plan
Architecture / planning model.
Designer
Design-oriented model.
Commit
Commit-message generation model.
Title
Session-title generation model (hidden from the selector UI).
Task
Subagent / task delegation model.
Advisor
Background advisor model.
Implementations§
Trait Implementations§
impl Copy for ModelRole
impl Eq for ModelRole
impl StructuralPartialEq for ModelRole
Auto Trait Implementations§
impl Freeze for ModelRole
impl RefUnwindSafe for ModelRole
impl Send for ModelRole
impl Sync for ModelRole
impl Unpin for ModelRole
impl UnsafeUnpin for ModelRole
impl UnwindSafe for ModelRole
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
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,
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.