pub struct RunBobOptions {
pub prompt: String,
pub chat_mode: BobChatMode,
pub approval_mode: BobApprovalMode,
pub max_coins: u32,
pub cwd: Option<PathBuf>,
pub bob_executable: Option<PathBuf>,
}Expand description
Options for a single bob run. Built by both the axum endpoint (from JSON body) and the Tauri command (from invoke args).
Fields§
§prompt: String§chat_mode: BobChatMode§approval_mode: BobApprovalMode§max_coins: u32§cwd: Option<PathBuf>Working directory the bob process runs in. Defaults to the caller’s cwd. For workspace-scoped runs, pass the workspace path so bob’s tool calls land inside that workspace.
bob_executable: Option<PathBuf>Override the bob executable path. Mainly for tests + when the
caller has already resolved bob (e.g. Tauri’s locator). Defaults
to bob on PATH.
Trait Implementations§
Source§impl Clone for RunBobOptions
impl Clone for RunBobOptions
Source§fn clone(&self) -> RunBobOptions
fn clone(&self) -> RunBobOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RunBobOptions
impl Debug for RunBobOptions
Source§impl<'de> Deserialize<'de> for RunBobOptions
impl<'de> Deserialize<'de> for RunBobOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RunBobOptions
impl PartialEq for RunBobOptions
Source§fn eq(&self, other: &RunBobOptions) -> bool
fn eq(&self, other: &RunBobOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RunBobOptions
impl StructuralPartialEq for RunBobOptions
Auto Trait Implementations§
impl Freeze for RunBobOptions
impl RefUnwindSafe for RunBobOptions
impl Send for RunBobOptions
impl Sync for RunBobOptions
impl Unpin for RunBobOptions
impl UnsafeUnpin for RunBobOptions
impl UnwindSafe for RunBobOptions
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