pub struct AgentDefinition {
pub manifest: DefinitionManifest,
pub system_prompt: String,
pub tools: Vec<Arc<dyn Tool>>,
pub context_hooks: Vec<Arc<dyn ContextHook>>,
pub guards: Vec<Arc<dyn Guard>>,
pub observers: Vec<Arc<dyn Observer>>,
pub completion_mode: CompletionMode,
}Fields§
§manifest: DefinitionManifest§system_prompt: String§tools: Vec<Arc<dyn Tool>>§context_hooks: Vec<Arc<dyn ContextHook>>§guards: Vec<Arc<dyn Guard>>§observers: Vec<Arc<dyn Observer>>§completion_mode: CompletionModeImplementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AgentDefinition
impl !UnwindSafe for AgentDefinition
impl Freeze for AgentDefinition
impl Send for AgentDefinition
impl Sync for AgentDefinition
impl Unpin for AgentDefinition
impl UnsafeUnpin for AgentDefinition
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