pub struct AgentManager { /* private fields */ }Implementations§
Source§impl AgentManager
impl AgentManager
pub fn create_session(&self) -> AgentSession
pub async fn ask_once( &self, text: impl Into<String>, ) -> Result<String, RunCollectTextError>
Auto Trait Implementations§
impl !Freeze for AgentManager
impl !RefUnwindSafe for AgentManager
impl !UnwindSafe for AgentManager
impl Send for AgentManager
impl Sync for AgentManager
impl Unpin for AgentManager
impl UnsafeUnpin for AgentManager
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