pub struct BuildCommandRequest<'a> {Show 13 fields
pub attachments: &'a [TurnPromptAttachment],
pub execution_policy: &'a ExecutionPolicy,
pub folder: &'a Path,
pub main_checkout_root: Option<&'a Path>,
pub model: &'a str,
pub permission_mode: PermissionMode,
pub agent_profile_prompt: Option<&'a str>,
pub agent_profile_update: &'a AgentDefinitionPromptUpdate,
pub prompt: &'a str,
pub reasoning_level: ReasoningLevel,
pub replay_transcript: Option<&'a str>,
pub request_kind: &'a AgentRequestKind,
pub speed_mode: SpeedMode,
}Expand description
Request payload used to build provider transport commands.
Fields§
§attachments: &'a [TurnPromptAttachment]Ordered local image attachments referenced from the prompt body.
execution_policy: &'a ExecutionPolicyWorker-selected policy translated into provider startup settings.
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.
permission_mode: PermissionModeFilesystem and command permission policy for this turn.
agent_profile_prompt: Option<&'a str>Current agent body included during a full prompt bootstrap.
agent_profile_update: &'a AgentDefinitionPromptUpdateAgent change that must reach prompt rendering, including withdrawal guidance when continuing a previously configured session.
prompt: &'a strUser prompt to send.
reasoning_level: ReasoningLevelReasoning effort preference for this turn.
Ignored by backends/models that do not support reasoning effort.
replay_transcript: Option<&'a str>Replayable transcript text captured when the turn was queued.
request_kind: &'a AgentRequestKindCanonical request kind that drives execution and protocol semantics.
speed_mode: SpeedModeResponse-speed preference for this turn.
Trait Implementations§
Source§impl<'a> Clone for BuildCommandRequest<'a>
impl<'a> Clone for BuildCommandRequest<'a>
impl<'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> Forget for BuildCommandRequest<'a>
impl<'a> Freeze for BuildCommandRequest<'a>
impl<'a> Move 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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more