pub struct LLMNode { /* private fields */ }Implementations§
Source§impl LLMNode
impl LLMNode
pub fn new( client: Arc<dyn ChatClient>, mcp_executor: Arc<MCPToolExecutor>, ) -> Self
pub fn with_reasoning_client( self, reasoning_client: Arc<dyn ReasoningClient>, ) -> Self
Trait Implementations§
Source§impl Node for LLMNode
impl Node for LLMNode
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 mut GraphState,
event_tx: EventSender,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 mut GraphState,
event_tx: EventSender,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Template Method Pattern: Execute node with structured steps
Auto Trait Implementations§
impl Freeze for LLMNode
impl !RefUnwindSafe for LLMNode
impl Send for LLMNode
impl Sync for LLMNode
impl Unpin for LLMNode
impl !UnwindSafe for LLMNode
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