pub struct ProfileSection {
pub profile_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub system_prompt: Option<String>,
pub thinking_level: Option<String>,
pub temperature: Option<f32>,
pub max_tokens: Option<u32>,
pub config_id: Option<String>,
pub skills: Vec<String>,
pub compaction: Option<String>,
pub instances: Vec<ProfileInstanceSection>,
}Expand description
Profile section — the reusable agent blueprint.
Maps to AgentProfile in the builder. Multiple agent instances can share
the same profile.
Fields§
§profile_id: Option<String>Unique profile identifier. Auto-generated if omitted.
name: Option<String>Human-readable name.
description: Option<String>Description of the profile’s purpose.
system_prompt: Option<String>Default system prompt for agents using this profile.
thinking_level: Option<String>Thinking level: “off”, “minimal”, “low”, “medium”, “high”.
temperature: Option<f32>Temperature for LLM calls.
max_tokens: Option<u32>Max output tokens.
config_id: Option<String>Stable config identity for loop_id generation.
skills: Vec<String>Skill names loaded via SkillSet from SKILL.md files (NOT tools).
compaction: Option<String>Reference to a compaction instance via {{...}} protocol.
instances: Vec<ProfileInstanceSection>Named profile instances (variations of this profile blueprint). Each instance overrides specific fields from the profile defaults.
Trait Implementations§
Source§impl Clone for ProfileSection
impl Clone for ProfileSection
Source§fn clone(&self) -> ProfileSection
fn clone(&self) -> ProfileSection
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 ProfileSection
impl Debug for ProfileSection
Source§impl Default for ProfileSection
impl Default for ProfileSection
Source§fn default() -> ProfileSection
fn default() -> ProfileSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileSectionwhere
ProfileSection: Default,
impl<'de> Deserialize<'de> for ProfileSectionwhere
ProfileSection: 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 ProfileSection
impl RefUnwindSafe for ProfileSection
impl Send for ProfileSection
impl Sync for ProfileSection
impl Unpin for ProfileSection
impl UnsafeUnpin for ProfileSection
impl UnwindSafe for ProfileSection
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