pub struct AutoagentsProviderConfig {Show 16 fields
pub provider: String,
pub model: Option<String>,
pub api_key: Option<String>,
pub base_url: Option<String>,
pub max_tokens: Option<u32>,
pub temperature: Option<f32>,
pub timeout_seconds: Option<u64>,
pub reasoning: Option<bool>,
pub reasoning_effort: Option<String>,
pub reasoning_budget_tokens: Option<u32>,
pub top_p: Option<f32>,
pub top_k: Option<u32>,
pub normalize_response: Option<bool>,
pub extra_body: Option<Value>,
pub api_version: Option<String>,
pub deployment_id: Option<String>,
}Fields§
§provider: String§model: Option<String>§api_key: Option<String>§base_url: Option<String>§max_tokens: Option<u32>§temperature: Option<f32>§timeout_seconds: Option<u64>§reasoning: Option<bool>§reasoning_effort: Option<String>§reasoning_budget_tokens: Option<u32>§top_p: Option<f32>§top_k: Option<u32>§normalize_response: Option<bool>§extra_body: Option<Value>§api_version: Option<String>§deployment_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for AutoagentsProviderConfig
impl Clone for AutoagentsProviderConfig
Source§fn clone(&self) -> AutoagentsProviderConfig
fn clone(&self) -> AutoagentsProviderConfig
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 AutoagentsProviderConfig
impl Debug for AutoagentsProviderConfig
Source§impl Default for AutoagentsProviderConfig
impl Default for AutoagentsProviderConfig
Source§fn default() -> AutoagentsProviderConfig
fn default() -> AutoagentsProviderConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for AutoagentsProviderConfig
impl PartialEq for AutoagentsProviderConfig
Source§fn eq(&self, other: &AutoagentsProviderConfig) -> bool
fn eq(&self, other: &AutoagentsProviderConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AutoagentsProviderConfig
Auto Trait Implementations§
impl Freeze for AutoagentsProviderConfig
impl RefUnwindSafe for AutoagentsProviderConfig
impl Send for AutoagentsProviderConfig
impl Sync for AutoagentsProviderConfig
impl Unpin for AutoagentsProviderConfig
impl UnsafeUnpin for AutoagentsProviderConfig
impl UnwindSafe for AutoagentsProviderConfig
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more