pub struct WorkspaceContext {
pub file_tree: String,
pub git_status: Option<String>,
pub file_contents: Vec<(String, String)>,
}Expand description
A snapshot of the workspace state injected into each LLM turn.
Fields§
§file_tree: String§git_status: Option<String>§file_contents: Vec<(String, String)>Implementations§
Auto Trait Implementations§
impl Freeze for WorkspaceContext
impl RefUnwindSafe for WorkspaceContext
impl Send for WorkspaceContext
impl Sync for WorkspaceContext
impl Unpin for WorkspaceContext
impl UnsafeUnpin for WorkspaceContext
impl UnwindSafe for WorkspaceContext
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