pub struct Runtime {
pub model: Option<Model>,
pub thinking_level: Option<ThinkingLevel>,
pub session_id: Option<String>,
pub session_file: Option<PathBuf>,
pub auto_resize_images: bool,
pub shell_path: Option<String>,
pub shell_command_prefix: Option<String>,
}Expand description
Session state tools read while running.
Fields§
§model: Option<Model>The current model.
thinking_level: Option<ThinkingLevel>The current thinking level.
session_id: Option<String>The session id.
session_file: Option<PathBuf>The session file, when persisted.
auto_resize_images: boolThe images.autoResize setting.
shell_path: Option<String>The shellPath setting, for bash.
shell_command_prefix: Option<String>The shellCommandPrefix setting, for bash.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Runtime
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
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