pub struct ToolPreparationContext {
pub session: SessionId,
pub run: RunId,
pub cwd: PathBuf,
pub workspace_root: PathBuf,
pub turn_context: Arc<TurnAgentContext>,
}Fields§
§session: SessionId§run: RunId§cwd: PathBuf§workspace_root: PathBuf§turn_context: Arc<TurnAgentContext>Static agent/model context shared with execution for this batch.
Trait Implementations§
Source§impl Clone for ToolPreparationContext
impl Clone for ToolPreparationContext
Source§fn clone(&self) -> ToolPreparationContext
fn clone(&self) -> ToolPreparationContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ToolPreparationContext
impl RefUnwindSafe for ToolPreparationContext
impl Send for ToolPreparationContext
impl Sync for ToolPreparationContext
impl Unpin for ToolPreparationContext
impl UnsafeUnpin for ToolPreparationContext
impl UnwindSafe for ToolPreparationContext
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