pub struct AgentPackage {
pub manifest: PackageManifest,
pub system_prompt: String,
pub tools: Vec<Arc<dyn Tool>>,
pub context_sources: Vec<Arc<dyn ContextSource>>,
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: PackageManifest§system_prompt: String§tools: Vec<Arc<dyn Tool>>§context_sources: Vec<Arc<dyn ContextSource>>§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 AgentPackage
impl !UnwindSafe for AgentPackage
impl Freeze for AgentPackage
impl Send for AgentPackage
impl Sync for AgentPackage
impl Unpin for AgentPackage
impl UnsafeUnpin for AgentPackage
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