pub struct RunningContext<'a> {
pub frontend: Frontend,
pub cwd: &'a Path,
}Expand description
Injects runtime environment context into the system prompt.
Static parts (platform, version, shell) are detected and cached internally by this
type; callers only need to provide the session‑varying Frontend and cwd.
Fields§
§frontend: Frontend§cwd: &'a PathImplementations§
Auto Trait Implementations§
impl<'a> Freeze for RunningContext<'a>
impl<'a> RefUnwindSafe for RunningContext<'a>
impl<'a> Send for RunningContext<'a>
impl<'a> Sync for RunningContext<'a>
impl<'a> Unpin for RunningContext<'a>
impl<'a> UnsafeUnpin for RunningContext<'a>
impl<'a> UnwindSafe for RunningContext<'a>
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