pub enum ModelTier {
Standard,
Flagship,
}Expand description
Selects a performance/cost tier when creating a provider via ProviderConfig.
The factory resolves the concrete model name from the tier and provider type.
An explicit model string on ProviderConfig always takes precedence over tier.
Variants§
Standard
Cost-efficient model for standard tasks (e.g. Sonnet, GPT-4o-mini, Gemini Flash).
Flagship
Most capable model for complex tasks (e.g. Opus, GPT-4o, Gemini Pro).
Trait Implementations§
impl Copy for ModelTier
impl Eq for ModelTier
impl StructuralPartialEq for ModelTier
Auto Trait Implementations§
impl Freeze for ModelTier
impl RefUnwindSafe for ModelTier
impl Send for ModelTier
impl Sync for ModelTier
impl Unpin for ModelTier
impl UnsafeUnpin for ModelTier
impl UnwindSafe for ModelTier
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.