pub struct LiveCodexRunOptions {
pub prompt: String,
pub cwd: PathBuf,
pub agent: CodexAgentConfig,
pub session: CodexSessionConfig,
pub title: String,
pub artifact_stem: PathBuf,
pub render_console: bool,
pub drain_after_prompt: Duration,
}Expand description
Configuration for a single live codex prompt run.
Fields§
§prompt: StringPrompt text.
cwd: PathBufWorking directory.
agent: CodexAgentConfigACP process config.
session: CodexSessionConfigSession create options.
title: StringHTML title.
artifact_stem: PathBufArtifact stem.
render_console: boolRender console lines while collecting.
drain_after_prompt: DurationDrain after prompt returns.
Implementations§
Trait Implementations§
Source§impl Clone for LiveCodexRunOptions
impl Clone for LiveCodexRunOptions
Source§fn clone(&self) -> LiveCodexRunOptions
fn clone(&self) -> LiveCodexRunOptions
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 moreAuto Trait Implementations§
impl Freeze for LiveCodexRunOptions
impl RefUnwindSafe for LiveCodexRunOptions
impl Send for LiveCodexRunOptions
impl Sync for LiveCodexRunOptions
impl Unpin for LiveCodexRunOptions
impl UnsafeUnpin for LiveCodexRunOptions
impl UnwindSafe for LiveCodexRunOptions
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