pub struct AgentConfig {
pub name: String,
pub description: Option<String>,
pub system_prompt: Option<String>,
pub provider: Option<Arc<dyn ModelProvider>>,
pub memory: Option<Arc<dyn MemoryProvider>>,
pub engine: Option<Arc<dyn ReasoningEngine>>,
pub policy: AgentPolicy,
}Fields§
§name: String§description: Option<String>§system_prompt: Option<String>§provider: Option<Arc<dyn ModelProvider>>§memory: Option<Arc<dyn MemoryProvider>>§engine: Option<Arc<dyn ReasoningEngine>>§policy: AgentPolicyTrait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
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 moreAuto Trait Implementations§
impl Freeze for AgentConfig
impl !RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnsafeUnpin for AgentConfig
impl !UnwindSafe for AgentConfig
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