pub struct AgentCapabilities {
pub can_traverse: bool,
pub can_search: bool,
pub can_modify_context: bool,
pub can_coordinate: bool,
pub allowed_edge_types: HashSet<EdgeType>,
pub max_expand_depth: usize,
}Expand description
Agent capabilities define what operations are permitted.
Fields§
§can_traverse: boolCan traverse the graph.
can_search: boolCan execute semantic search via RAG.
can_modify_context: boolCan modify context window.
can_coordinate: boolCan coordinate with other agents.
allowed_edge_types: HashSet<EdgeType>Allowed edge types for traversal.
max_expand_depth: usizeMaximum expansion depth per operation.
Implementations§
Trait Implementations§
Source§impl Clone for AgentCapabilities
impl Clone for AgentCapabilities
Source§fn clone(&self) -> AgentCapabilities
fn clone(&self) -> AgentCapabilities
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 AgentCapabilities
impl Debug for AgentCapabilities
Auto Trait Implementations§
impl Freeze for AgentCapabilities
impl RefUnwindSafe for AgentCapabilities
impl Send for AgentCapabilities
impl Sync for AgentCapabilities
impl Unpin for AgentCapabilities
impl UnwindSafe for AgentCapabilities
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