pub struct OpenOptions {
pub env: RunEnv,
pub flags: ModelFlags,
pub session_root: PathBuf,
pub metadata: Metadata,
pub mode: String,
pub services: Services,
pub auto_name: bool,
}Fields§
§env: RunEnv§flags: ModelFlags§session_root: PathBufThe session root (<root>/--<cwd>--/<file>.jsonl).
metadata: Metadata§mode: Stringprint, json, rpc, interactive.
services: Services§auto_name: boolName the session from its first prompt (and by the model’s title); off for sessions removed at the end.
Auto Trait Implementations§
impl !RefUnwindSafe for OpenOptions
impl !UnwindSafe for OpenOptions
impl Forget for OpenOptions
impl Freeze for OpenOptions
impl Move for OpenOptions
impl Send for OpenOptions
impl Sync for OpenOptions
impl Unpin for OpenOptions
impl UnsafeUnpin for OpenOptions
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