pub struct RunTaskInput {
pub task_text: String,
pub bridge: Arc<dyn ChannelBridge>,
pub memory: Option<Arc<dyn Memory>>,
pub user_namespace: Option<String>,
pub attachments: Vec<MediaAttachment>,
}Expand description
Input for the RunTask callback.
Fields§
§task_text: String§bridge: Arc<dyn ChannelBridge>§memory: Option<Arc<dyn Memory>>Pre-existing shared memory store so sub-agent memory tools persist across tasks. Passed as the raw (un-namespaced) store.
user_namespace: Option<String>User-specific namespace prefix (e.g. "tg:12345"). Passed as story_id
to build_orchestrator_from_config for per-user memory isolation.
attachments: Vec<MediaAttachment>Media attachments (photos, documents). Empty for text-only messages.
Auto Trait Implementations§
impl Freeze for RunTaskInput
impl !RefUnwindSafe for RunTaskInput
impl Send for RunTaskInput
impl Sync for RunTaskInput
impl Unpin for RunTaskInput
impl UnsafeUnpin for RunTaskInput
impl !UnwindSafe for RunTaskInput
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