pub struct SimpleRouter;Expand description
Simple router implementing React agent pattern: LLM -> Tool (if tool_calls present) -> LLM -> END
Trait Implementations§
Source§impl Router for SimpleRouter
impl Router for SimpleRouter
Auto Trait Implementations§
impl Freeze for SimpleRouter
impl RefUnwindSafe for SimpleRouter
impl Send for SimpleRouter
impl Sync for SimpleRouter
impl Unpin for SimpleRouter
impl UnwindSafe for SimpleRouter
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