pub struct VerifierAgent { /* private fields */ }Expand description
Verifier agent - handles stability verification and contract checking
Implementations§
Source§impl VerifierAgent
impl VerifierAgent
Trait Implementations§
Source§impl Agent for VerifierAgent
impl Agent for VerifierAgent
Source§fn process<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
node: &'life1 SRBNNode,
ctx: &'life2 AgentContext,
) -> Pin<Box<dyn Future<Output = Result<AgentMessage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn process<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
node: &'life1 SRBNNode,
ctx: &'life2 AgentContext,
) -> Pin<Box<dyn Future<Output = Result<AgentMessage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Process a task and return a message
Source§fn can_handle(&self, node: &SRBNNode) -> bool
fn can_handle(&self, node: &SRBNNode) -> bool
Check if this agent can handle the given node
Source§fn build_prompt(&self, node: &SRBNNode, _ctx: &AgentContext) -> String
fn build_prompt(&self, node: &SRBNNode, _ctx: &AgentContext) -> String
Build the prompt for this agent (for logging)
Auto Trait Implementations§
impl Freeze for VerifierAgent
impl !RefUnwindSafe for VerifierAgent
impl Send for VerifierAgent
impl Sync for VerifierAgent
impl Unpin for VerifierAgent
impl !UnwindSafe for VerifierAgent
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