pub struct UpdateParams {
pub system_prompt: String,
pub initial_prompt: String,
pub original_path: PathBuf,
pub staging_path: PathBuf,
pub kind: WorkflowKind,
pub session_name: String,
pub session_tag: String,
pub _staging_dir: TempDir,
}Expand description
Prepared parameters for workflow update — the system prompt, initial user prompt, and the staging path that the agent should edit in place.
Fields§
§system_prompt: String§initial_prompt: String§original_path: PathBuf§staging_path: PathBuf§kind: WorkflowKind§session_name: String§session_tag: String§_staging_dir: TempDirOwned tempdir that holds the staging copy. Kept alive until the update completes so the scratch files are available to the agent; dropped to clean them up afterwards.
Trait Implementations§
Source§impl Debug for UpdateParams
impl Debug for UpdateParams
Auto Trait Implementations§
impl Freeze for UpdateParams
impl RefUnwindSafe for UpdateParams
impl Send for UpdateParams
impl Sync for UpdateParams
impl Unpin for UpdateParams
impl UnsafeUnpin for UpdateParams
impl UnwindSafe for UpdateParams
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