pub struct WorkerRunOptions {Show 15 fields
pub cwd: PathBuf,
pub model_override: Option<Model>,
pub model: Option<String>,
pub provider: Option<String>,
pub api_key: Option<String>,
pub thinking: Option<ThinkingLevel>,
pub max_turns: Option<u32>,
pub autonomy_mode: Option<AutonomyMode>,
pub verification_gates: Vec<VerificationGate>,
pub max_tokens: Option<u32>,
pub system_prompt: Option<String>,
pub no_tools: bool,
pub mana_dir_override: Option<PathBuf>,
pub defer_verify: bool,
pub lua_loader: Option<LuaToolLoader>,
}Fields§
§cwd: PathBuf§model_override: Option<Model>§model: Option<String>§provider: Option<String>§api_key: Option<String>§thinking: Option<ThinkingLevel>§max_turns: Option<u32>§autonomy_mode: Option<AutonomyMode>§verification_gates: Vec<VerificationGate>§max_tokens: Option<u32>§system_prompt: Option<String>§no_tools: bool§mana_dir_override: Option<PathBuf>§defer_verify: bool§lua_loader: Option<LuaToolLoader>Auto Trait Implementations§
impl Freeze for WorkerRunOptions
impl !RefUnwindSafe for WorkerRunOptions
impl Send for WorkerRunOptions
impl Sync for WorkerRunOptions
impl Unpin for WorkerRunOptions
impl UnsafeUnpin for WorkerRunOptions
impl !UnwindSafe for WorkerRunOptions
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more