pub struct EffectiveConfig {
pub model: Option<String>,
pub temperature: Option<f32>,
pub reasoning_effort: Option<ReasoningEffort>,
pub max_output_tokens: Option<u32>,
pub stop: Vec<String>,
pub response_format: Option<ResponseFormat>,
pub continuation_policy: ContinuationPolicy,
pub deadline: Option<Duration>,
pub extensions: BTreeMap<ExtensionKey, VersionedExtension>,
pub session: SessionConfig,
}Expand description
Immutable effective configuration after merge.
Fields§
§model: Option<String>Model id.
temperature: Option<f32>Temperature.
reasoning_effort: Option<ReasoningEffort>Reasoning effort.
max_output_tokens: Option<u32>Max output tokens.
stop: Vec<String>Stop sequences.
response_format: Option<ResponseFormat>Response format.
continuation_policy: ContinuationPolicyContinuation policy.
deadline: Option<Duration>Deadline.
extensions: BTreeMap<ExtensionKey, VersionedExtension>Merged extensions.
session: SessionConfigEffective session config when external-agent (else empty defaults).
Trait Implementations§
Source§impl Clone for EffectiveConfig
impl Clone for EffectiveConfig
Source§fn clone(&self) -> EffectiveConfig
fn clone(&self) -> EffectiveConfig
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 EffectiveConfig
impl Debug for EffectiveConfig
Source§impl<'de> Deserialize<'de> for EffectiveConfig
impl<'de> Deserialize<'de> for EffectiveConfig
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
Source§impl PartialEq for EffectiveConfig
impl PartialEq for EffectiveConfig
Source§impl Serialize for EffectiveConfig
impl Serialize for EffectiveConfig
impl StructuralPartialEq for EffectiveConfig
Auto Trait Implementations§
impl Freeze for EffectiveConfig
impl RefUnwindSafe for EffectiveConfig
impl Send for EffectiveConfig
impl Sync for EffectiveConfig
impl Unpin for EffectiveConfig
impl UnsafeUnpin for EffectiveConfig
impl UnwindSafe for EffectiveConfig
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