pub struct MoaConfig {
pub provider_name: String,
pub model_id: String,
pub aggregator_instructions: Option<String>,
pub strip_reference_tools: bool,
pub fail_mode: MoaFailMode,
}Fields§
§provider_name: Stringprovider() value (default "moa").
model_id: Stringmodel_id() value (default "moa").
aggregator_instructions: Option<String>Optional aggregator system instruction prepended to the reference user
message. None uses a built-in default.
strip_reference_tools: boolStrip tools / tool_choice from reference calls so references stay
cheap (Hermes: references don’t carry tool schemas). Default true.
fail_mode: MoaFailModeReference-failure policy.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MoaConfig
impl<'de> Deserialize<'de> for MoaConfig
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
Auto Trait Implementations§
impl Freeze for MoaConfig
impl RefUnwindSafe for MoaConfig
impl Send for MoaConfig
impl Sync for MoaConfig
impl Unpin for MoaConfig
impl UnsafeUnpin for MoaConfig
impl UnwindSafe for MoaConfig
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