pub enum ModelRole {
Main,
Plan,
Compress,
Fast,
}Expand description
Model role - what purpose this model serves.
Variants§
Main
Main model for task execution.
Plan
Planning model for task decomposition.
Compress
Compression model for context summarization.
Fast
Fast model for quick operations.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelRole
impl<'de> Deserialize<'de> for ModelRole
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>,
Deserialize this value from the given Serde deserializer. Read more
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