pub struct BuildCommandRequest<'a> {
pub attachments: &'a [TurnPromptAttachment],
pub folder: &'a Path,
pub main_checkout_root: Option<&'a Path>,
pub model: &'a str,
pub prompt: &'a str,
pub reasoning_level: ReasoningLevel,
pub request_kind: &'a AgentRequestKind,
pub replay_transcript: Option<&'a str>,
}Expand description
Request payload used to build provider transport commands.
Fields§
§attachments: &'a [TurnPromptAttachment]Ordered local image attachments referenced from the prompt body.
folder: &'a PathWorking directory where the command will run.
main_checkout_root: Option<&'a Path>Main repository checkout that must remain read-only during the turn, when Agentty can resolve it.
model: &'a strProvider-specific model identifier.
prompt: &'a strUser prompt to send.
reasoning_level: ReasoningLevelReasoning effort preference for this turn.
Ignored by backends/models that do not support reasoning effort.
request_kind: &'a AgentRequestKindCanonical request kind that drives execution and protocol semantics.
replay_transcript: Option<&'a str>Replayable transcript text captured when the turn was queued.
Trait Implementations§
Source§impl<'a> Clone for BuildCommandRequest<'a>
impl<'a> Clone for BuildCommandRequest<'a>
Source§fn clone(&self) -> BuildCommandRequest<'a>
fn clone(&self) -> BuildCommandRequest<'a>
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 moreimpl<'a> Copy for BuildCommandRequest<'a>
Source§impl<'a> Debug for BuildCommandRequest<'a>
impl<'a> Debug for BuildCommandRequest<'a>
impl<'a> Eq for BuildCommandRequest<'a>
Source§impl<'a> PartialEq for BuildCommandRequest<'a>
impl<'a> PartialEq for BuildCommandRequest<'a>
impl<'a> StructuralPartialEq for BuildCommandRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for BuildCommandRequest<'a>
impl<'a> RefUnwindSafe for BuildCommandRequest<'a>
impl<'a> Send for BuildCommandRequest<'a>
impl<'a> Sync for BuildCommandRequest<'a>
impl<'a> Unpin for BuildCommandRequest<'a>
impl<'a> UnsafeUnpin for BuildCommandRequest<'a>
impl<'a> UnwindSafe for BuildCommandRequest<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.