pub struct LiveZaiRunOptions {
pub prompt: String,
pub cwd: PathBuf,
pub agent: ZaiAgentConfig,
pub title: String,
pub artifact_stem: PathBuf,
pub render_console: bool,
}Expand description
Configuration for a single live zai headless run.
Fields§
§prompt: StringPrompt text.
cwd: PathBufWorking directory.
agent: ZaiAgentConfigProcess config.
title: StringHTML title.
artifact_stem: PathBufArtifact stem.
render_console: boolRender console lines while collecting.
Implementations§
Trait Implementations§
Source§impl Clone for LiveZaiRunOptions
impl Clone for LiveZaiRunOptions
Source§fn clone(&self) -> LiveZaiRunOptions
fn clone(&self) -> LiveZaiRunOptions
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 LiveZaiRunOptions
impl RefUnwindSafe for LiveZaiRunOptions
impl Send for LiveZaiRunOptions
impl Sync for LiveZaiRunOptions
impl Unpin for LiveZaiRunOptions
impl UnsafeUnpin for LiveZaiRunOptions
impl UnwindSafe for LiveZaiRunOptions
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