pub struct Level3Config {
pub assistant_id: String,
pub assistant_name: String,
pub assistant_icon: Option<String>,
pub assistant_description: Option<String>,
pub system_prompt_file: String,
pub preferred_model: Option<String>,
}Expand description
Level 3 — The plugin registers an AI assistant.
Fields§
§assistant_id: String§assistant_name: String§assistant_icon: Option<String>§assistant_description: Option<String>§system_prompt_file: StringPath inside the package to the system prompt markdown file.
preferred_model: Option<String>Optional: auto-select a specific model_config_id for this assistant.
Trait Implementations§
Source§impl Clone for Level3Config
impl Clone for Level3Config
Source§fn clone(&self) -> Level3Config
fn clone(&self) -> Level3Config
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 Level3Config
impl Debug for Level3Config
Source§impl<'de> Deserialize<'de> for Level3Config
impl<'de> Deserialize<'de> for Level3Config
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 Level3Config
impl RefUnwindSafe for Level3Config
impl Send for Level3Config
impl Sync for Level3Config
impl Unpin for Level3Config
impl UnsafeUnpin for Level3Config
impl UnwindSafe for Level3Config
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