pub struct ProfileInstanceSection {
pub id: String,
pub description: Option<String>,
pub name: 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>,
}Expand description
A named profile instance — a variation of the profile blueprint.
The id field uses the {{...}} reference protocol:
{{%name%}}— no recreation if exists{{name}}— recreate{{#system_id#}}— literal system ID
Fields set here override the parent ProfileSection defaults.
Fields§
§id: StringInstance ID using the {{...}} reference protocol.
description: Option<String>Description used for existence check queries (with % references).
name: Option<String>Override name.
system_prompt: Option<String>Override system prompt.
thinking_level: Option<String>Override thinking level.
temperature: Option<f32>Override temperature.
max_tokens: Option<u32>Override max tokens.
config_id: Option<String>Override config identity.
skills: Vec<String>Override skills.
Trait Implementations§
Source§impl Clone for ProfileInstanceSection
impl Clone for ProfileInstanceSection
Source§fn clone(&self) -> ProfileInstanceSection
fn clone(&self) -> ProfileInstanceSection
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 ProfileInstanceSection
impl Debug for ProfileInstanceSection
Source§impl Default for ProfileInstanceSection
impl Default for ProfileInstanceSection
Source§fn default() -> ProfileInstanceSection
fn default() -> ProfileInstanceSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileInstanceSectionwhere
ProfileInstanceSection: Default,
impl<'de> Deserialize<'de> for ProfileInstanceSectionwhere
ProfileInstanceSection: 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 ProfileInstanceSection
impl RefUnwindSafe for ProfileInstanceSection
impl Send for ProfileInstanceSection
impl Sync for ProfileInstanceSection
impl Unpin for ProfileInstanceSection
impl UnsafeUnpin for ProfileInstanceSection
impl UnwindSafe for ProfileInstanceSection
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