pub struct ToolBehaviorBundle { /* private fields */ }Expand description
Lightweight bundle carrying only tools/behaviors contributions.
This is useful for runtime/system wiring where agent/model/provider registries should not be mutated, but tools/behaviors still need a uniform bundle path.
Implementations§
Trait Implementations§
Source§impl Clone for ToolBehaviorBundle
impl Clone for ToolBehaviorBundle
Source§fn clone(&self) -> ToolBehaviorBundle
fn clone(&self) -> ToolBehaviorBundle
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 Default for ToolBehaviorBundle
impl Default for ToolBehaviorBundle
Source§fn default() -> ToolBehaviorBundle
fn default() -> ToolBehaviorBundle
Returns the “default value” for a type. Read more
Source§impl RegistryBundle for ToolBehaviorBundle
impl RegistryBundle for ToolBehaviorBundle
fn tool_definitions(&self) -> HashMap<String, Arc<dyn Tool>>
fn behavior_definitions(&self) -> HashMap<String, Arc<dyn AgentBehavior>>
fn agent_definitions(&self) -> HashMap<String, AgentDefinition>
fn agent_registries(&self) -> Vec<Arc<dyn AgentRegistry>>
fn tool_registries(&self) -> Vec<Arc<dyn ToolRegistry>>
fn behavior_registries(&self) -> Vec<Arc<dyn BehaviorRegistry>>
fn provider_definitions(&self) -> HashMap<String, Client>
fn provider_registries(&self) -> Vec<Arc<dyn ProviderRegistry>>
fn model_definitions(&self) -> HashMap<String, ModelDefinition>
fn model_registries(&self) -> Vec<Arc<dyn ModelRegistry>>
Auto Trait Implementations§
impl Freeze for ToolBehaviorBundle
impl !RefUnwindSafe for ToolBehaviorBundle
impl Send for ToolBehaviorBundle
impl Sync for ToolBehaviorBundle
impl Unpin for ToolBehaviorBundle
impl !UnwindSafe for ToolBehaviorBundle
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