pub struct ResearchPlanner { /* private fields */ }Implementations§
Source§impl ResearchPlanner
impl ResearchPlanner
pub fn new(llm: Arc<dyn LlmProvider>) -> Self
Trait Implementations§
Source§impl Planner for ResearchPlanner
impl Planner for ResearchPlanner
fn plan<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
state: &'life1 AgentStateSnapshot,
trigger: &'life2 AgentTrigger,
) -> Pin<Box<dyn Future<Output = PlannerOutput> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for ResearchPlanner
impl !RefUnwindSafe for ResearchPlanner
impl Send for ResearchPlanner
impl Sync for ResearchPlanner
impl Unpin for ResearchPlanner
impl UnsafeUnpin for ResearchPlanner
impl !UnwindSafe for ResearchPlanner
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