pub struct PhaseOverrideConfig {
pub runner: Option<Runner>,
pub model: Option<Model>,
pub reasoning_effort: Option<ReasoningEffort>,
}Expand description
Per-phase configuration overrides for runner, model, and reasoning effort.
All fields are optional to support leaf-wise merging:
Some(value)overrides the parent configNonemeans “inherit from parent”
Fields§
§runner: Option<Runner>Runner to use for this phase (overrides global agent.runner)
model: Option<Model>Model to use for this phase (overrides global agent.model)
reasoning_effort: Option<ReasoningEffort>Reasoning effort for this phase (overrides global agent.reasoning_effort)
Implementations§
Source§impl PhaseOverrideConfig
impl PhaseOverrideConfig
Sourcepub fn merge_from(&mut self, other: Self)
pub fn merge_from(&mut self, other: Self)
Leaf-wise merge: other.Some overrides self, other.None preserves self
Trait Implementations§
Source§impl Clone for PhaseOverrideConfig
impl Clone for PhaseOverrideConfig
Source§fn clone(&self) -> PhaseOverrideConfig
fn clone(&self) -> PhaseOverrideConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 PhaseOverrideConfig
impl Debug for PhaseOverrideConfig
Source§impl Default for PhaseOverrideConfig
impl Default for PhaseOverrideConfig
Source§fn default() -> PhaseOverrideConfig
fn default() -> PhaseOverrideConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PhaseOverrideConfigwhere
PhaseOverrideConfig: Default,
impl<'de> Deserialize<'de> for PhaseOverrideConfigwhere
PhaseOverrideConfig: Default,
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 JsonSchema for PhaseOverrideConfig
impl JsonSchema for PhaseOverrideConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PhaseOverrideConfig
impl PartialEq for PhaseOverrideConfig
Source§impl Serialize for PhaseOverrideConfig
impl Serialize for PhaseOverrideConfig
impl StructuralPartialEq for PhaseOverrideConfig
Auto Trait Implementations§
impl Freeze for PhaseOverrideConfig
impl RefUnwindSafe for PhaseOverrideConfig
impl Send for PhaseOverrideConfig
impl Sync for PhaseOverrideConfig
impl Unpin for PhaseOverrideConfig
impl UnsafeUnpin for PhaseOverrideConfig
impl UnwindSafe for PhaseOverrideConfig
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