pub struct AgentSection {
pub system_prompt: Option<String>,
pub profile: ProfileSection,
pub instances: Vec<AgentInstanceSection>,
pub workspace: Option<String>,
}Expand description
Agent-level configuration. system_prompt here overrides the profile’s.
Fields§
§system_prompt: Option<String>Agent-level system prompt override. When set, takes precedence over
profile.system_prompt.
profile: ProfileSectionThe agent’s profile blueprint.
instances: Vec<AgentInstanceSection>Named agent instances (for multi-agent configs).
workspace: Option<String>Agent-level workspace directory override.
Trait Implementations§
Source§impl Clone for AgentSection
impl Clone for AgentSection
Source§fn clone(&self) -> AgentSection
fn clone(&self) -> AgentSection
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 AgentSection
impl Debug for AgentSection
Source§impl Default for AgentSection
impl Default for AgentSection
Source§fn default() -> AgentSection
fn default() -> AgentSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentSectionwhere
AgentSection: Default,
impl<'de> Deserialize<'de> for AgentSectionwhere
AgentSection: 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
Auto Trait Implementations§
impl Freeze for AgentSection
impl RefUnwindSafe for AgentSection
impl Send for AgentSection
impl Sync for AgentSection
impl Unpin for AgentSection
impl UnsafeUnpin for AgentSection
impl UnwindSafe for AgentSection
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