pub struct LocalTaskRuntime {
pub agent: Arc<Agent>,
pub tools: Arc<dyn ToolExecutor>,
pub provider_router: Option<Arc<ProviderModelRouter>>,
pub app_data_dir: Option<PathBuf>,
pub sessions_cache: SessionCache,
}Fields§
§agent: Arc<Agent>§tools: Arc<dyn ToolExecutor>The Host’s complete permission-checking base chain, without the Root role fence.
provider_router: Option<Arc<ProviderModelRouter>>§app_data_dir: Option<PathBuf>§sessions_cache: SessionCacheTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LocalTaskRuntime
impl !UnwindSafe for LocalTaskRuntime
impl Freeze for LocalTaskRuntime
impl Send for LocalTaskRuntime
impl Sync for LocalTaskRuntime
impl Unpin for LocalTaskRuntime
impl UnsafeUnpin for LocalTaskRuntime
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