pub struct ExecStreamRequest {
pub prompt: String,
pub ephemeral: bool,
pub ignore_rules: bool,
pub ignore_user_config: bool,
pub idle_timeout: Option<Duration>,
pub output_last_message: Option<PathBuf>,
pub output_schema: Option<PathBuf>,
pub json_event_log: Option<PathBuf>,
}Expand description
Options configuring a streaming exec invocation.
Fields§
§prompt: StringUser prompt that will be forwarded to codex exec.
ephemeral: boolPasses --ephemeral to avoid writing conversation history.
ignore_rules: boolPasses --ignore-rules to bypass repo-specific rule loading.
ignore_user_config: boolPasses --ignore-user-config to bypass user config loading.
idle_timeout: Option<Duration>Per-event idle timeout. If no JSON lines arrive before the duration elapses,
ExecStreamError::IdleTimeout is returned.
output_last_message: Option<PathBuf>Optional file path passed through to --output-last-message. When unset, the wrapper
will request a temporary path and return it in ExecCompletion::last_message_path.
output_schema: Option<PathBuf>Optional file path passed through to --output-schema so clients can persist the schema
describing the item envelope structure seen during the run.
json_event_log: Option<PathBuf>Optional file path that receives a tee of every raw JSONL event line as it streams in.
Appends to existing files, flushes each line, and creates parent directories. Overrides
[CodexClientBuilder::json_event_log] for this request when provided.
Trait Implementations§
Source§impl Clone for ExecStreamRequest
impl Clone for ExecStreamRequest
Source§fn clone(&self) -> ExecStreamRequest
fn clone(&self) -> ExecStreamRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more