pub struct DelegateAgentConfig {
pub provider: String,
pub model: String,
pub system_prompt: Option<String>,
pub api_key: Option<String>,
pub temperature: Option<f64>,
pub max_depth: usize,
pub agentic: bool,
pub allowed_tools: Vec<String>,
pub max_iterations: usize,
pub privacy_boundary: String,
pub allowed_providers: Vec<String>,
pub blocked_providers: Vec<String>,
}Fields§
§provider: String§model: String§system_prompt: Option<String>§api_key: Option<String>§temperature: Option<f64>§max_depth: usize§agentic: bool§allowed_tools: Vec<String>§max_iterations: usize§privacy_boundary: StringPer-agent privacy boundary: “inherit”, “local_only”, “encrypted_only”, “any”.
allowed_providers: Vec<String>Restrict this agent to only use these provider kinds.
blocked_providers: Vec<String>Block this agent from using these provider kinds.
Trait Implementations§
Source§impl Clone for DelegateAgentConfig
impl Clone for DelegateAgentConfig
Source§fn clone(&self) -> DelegateAgentConfig
fn clone(&self) -> DelegateAgentConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DelegateAgentConfig
impl Debug for DelegateAgentConfig
Source§impl Default for DelegateAgentConfig
impl Default for DelegateAgentConfig
Source§impl<'de> Deserialize<'de> for DelegateAgentConfigwhere
DelegateAgentConfig: Default,
impl<'de> Deserialize<'de> for DelegateAgentConfigwhere
DelegateAgentConfig: 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 DelegateAgentConfig
impl RefUnwindSafe for DelegateAgentConfig
impl Send for DelegateAgentConfig
impl Sync for DelegateAgentConfig
impl Unpin for DelegateAgentConfig
impl UnsafeUnpin for DelegateAgentConfig
impl UnwindSafe for DelegateAgentConfig
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