pub enum VariantRequestConfig {
ReasoningEffort(String),
GoogleThinkingLevel {
level: String,
},
GoogleThinkingBudget {
budget_tokens: i32,
},
AnthropicAdaptiveThinking {
effort: String,
},
AnthropicThinkingBudget {
budget_tokens: i32,
},
}Expand description
Per-request tuning a provider produces for a model + variant. Each concrete provider crate interprets its own variant strings and emits the request-shaping parameters its wire protocol needs.
Variants§
ReasoningEffort(String)
GoogleThinkingLevel
GoogleThinkingBudget
AnthropicAdaptiveThinking
AnthropicThinkingBudget
Trait Implementations§
Source§impl Clone for VariantRequestConfig
impl Clone for VariantRequestConfig
Source§fn clone(&self) -> VariantRequestConfig
fn clone(&self) -> VariantRequestConfig
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 moreSource§impl Debug for VariantRequestConfig
impl Debug for VariantRequestConfig
Source§impl PartialEq for VariantRequestConfig
impl PartialEq for VariantRequestConfig
Source§fn eq(&self, other: &VariantRequestConfig) -> bool
fn eq(&self, other: &VariantRequestConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VariantRequestConfig
impl StructuralPartialEq for VariantRequestConfig
Auto Trait Implementations§
impl Freeze for VariantRequestConfig
impl RefUnwindSafe for VariantRequestConfig
impl Send for VariantRequestConfig
impl Sync for VariantRequestConfig
impl Unpin for VariantRequestConfig
impl UnsafeUnpin for VariantRequestConfig
impl UnwindSafe for VariantRequestConfig
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