pub struct ReplSession {Show 13 fields
pub repo_root: PathBuf,
pub gate: Option<String>,
pub model: String,
pub cached_models: Vec<ModelInfo>,
pub context_strategy: String,
pub container: Option<String>,
pub max_turns: usize,
pub max_gates: usize,
pub rollback: bool,
pub orchestrate: bool,
pub fold_budget: Option<usize>,
pub state: State,
pub session_id: String,
}Expand description
Active state and parameters of an ongoing REPL session.
Fields§
§repo_root: PathBuf§gate: Option<String>§model: String§cached_models: Vec<ModelInfo>§context_strategy: String§container: Option<String>§max_turns: usize§max_gates: usize§rollback: bool§orchestrate: bool§fold_budget: Option<usize>§state: State§session_id: StringImplementations§
Source§impl ReplSession
impl ReplSession
Sourcepub fn new(config: &ReplConfig) -> Self
pub fn new(config: &ReplConfig) -> Self
Creates a new ReplSession initialized with the given ReplConfig.
Auto Trait Implementations§
impl Freeze for ReplSession
impl RefUnwindSafe for ReplSession
impl Send for ReplSession
impl Sync for ReplSession
impl Unpin for ReplSession
impl UnsafeUnpin for ReplSession
impl UnwindSafe for ReplSession
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