pub struct V2Config {
pub schema_version: u32,
pub autonomy: Option<Value>,
pub agent: Option<Value>,
pub swarms: HashMap<String, Value>,
pub cron: Option<Value>,
pub providers: Option<Value>,
pub cost: Option<Value>,
pub channels: Option<Value>,
pub agents: HashMap<String, Value>,
pub passthrough: Map<String, Value>,
}Expand description
V2 partial typed lens. Everything not explicitly named flows through
passthrough unchanged.
Fields§
§schema_version: u32§autonomy: Option<Value>V3 synthesizes risk_profiles from this block.
agent: Option<Value>V3 synthesizes runtime_profiles from this block.
swarms: HashMap<String, Value>V3 dropped swarms entirely.
cron: Option<Value>V3 restructures cron: [cron.<alias>] = CronJobDecl; subsystem knobs
(enabled, catch_up_on_startup, max_run_history) move to [scheduler].
providers: Option<Value>V3 restructures providers: drops fallback, aliases models, adds tts.
cost: Option<Value>V3 drops cost.prices; pricing moves inline onto each model provider.
channels: Option<Value>V3 wraps each channel section in HashMap<String, T> (alias-keyed) and
folds discord_history into discord.<alias>.archive = true.
agents: HashMap<String, Value>V3 replaces inline brain fields on each agent with model-provider
alias references; brain fields surface as new entries under
model_providers.<provider>.agent_<id>.
passthrough: Map<String, Value>Everything else passes through unchanged.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for V2Config
impl<'de> Deserialize<'de> for V2Config
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<V2Config, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<V2Config, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for V2Config
impl Serialize for V2Config
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for V2Config
impl RefUnwindSafe for V2Config
impl Send for V2Config
impl Sync for V2Config
impl Unpin for V2Config
impl UnsafeUnpin for V2Config
impl UnwindSafe for V2Config
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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