pub struct CodexSpawnArgs<'a> {
pub binary: &'a Path,
pub prompt: &'a str,
pub json_schema: &'a str,
pub input_text: &'a str,
pub model: Option<&'a str>,
pub timeout_secs: u64,
pub schema_path: PathBuf,
}Expand description
Configuration for the codex spawner.
Fields§
§binary: &'a Path§prompt: &'a str§json_schema: &'a str§input_text: &'a str§model: Option<&'a str>§timeout_secs: u64§schema_path: PathBufCaller-provided schema path (must be inside a trusted directory
that codex recognises as sandbox-safe). Use trusted_schema_path
to compute one under the cache dir.
Auto Trait Implementations§
impl<'a> Freeze for CodexSpawnArgs<'a>
impl<'a> RefUnwindSafe for CodexSpawnArgs<'a>
impl<'a> Send for CodexSpawnArgs<'a>
impl<'a> Sync for CodexSpawnArgs<'a>
impl<'a> Unpin for CodexSpawnArgs<'a>
impl<'a> UnsafeUnpin for CodexSpawnArgs<'a>
impl<'a> UnwindSafe for CodexSpawnArgs<'a>
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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