pub struct LocalExecutionProgress {Show 17 fields
pub phase: LocalExecutionPhase,
pub waiting_reason: Option<LocalExecutionWaitingReason>,
pub stage: Option<String>,
pub message: Option<String>,
pub percent: Option<u8>,
pub iteration: u32,
pub current_tool_name: Option<String>,
pub last_completed_tool_name: Option<String>,
pub last_completed_tool_duration_ms: Option<u64>,
pub completed_tool_call_count: usize,
pub has_partial_content: bool,
pub partial_content_chars: usize,
pub has_partial_thinking: bool,
pub partial_thinking_chars: usize,
pub token_usage: Option<LocalExecutionTokenUsageSnapshot>,
pub environment: Option<LocalExecutionEnvironmentSnapshot>,
pub updated_at: DateTime<Utc>,
}Expand description
Local delegated execution progress mirrored from the streaming agent loop.
Fields§
§phase: LocalExecutionPhaseHigh-level local execution phase.
waiting_reason: Option<LocalExecutionWaitingReason>Optional structured waiting reason while in a waiting phase.
stage: Option<String>Optional current stage label.
message: Option<String>Optional human-readable status message.
percent: Option<u8>Percent completion when reported.
iteration: u32Current agent-loop iteration.
current_tool_name: Option<String>Active tool name when the local agent is inside a tool call.
last_completed_tool_name: Option<String>Most recently completed tool name, if known.
last_completed_tool_duration_ms: Option<u64>Duration in milliseconds for the most recently completed tool.
completed_tool_call_count: usizeNumber of completed tool calls captured so far.
has_partial_content: boolWhether partial user-visible content has been emitted.
partial_content_chars: usizePartial content character count emitted so far.
has_partial_thinking: boolWhether partial thinking content has been emitted.
partial_thinking_chars: usizePartial thinking character count emitted so far.
token_usage: Option<LocalExecutionTokenUsageSnapshot>Token-usage accounting when available.
environment: Option<LocalExecutionEnvironmentSnapshot>Environment snapshot at the time of this progress update.
updated_at: DateTime<Utc>Last local update time.
Trait Implementations§
Source§impl Clone for LocalExecutionProgress
impl Clone for LocalExecutionProgress
Source§fn clone(&self) -> LocalExecutionProgress
fn clone(&self) -> LocalExecutionProgress
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LocalExecutionProgress
impl Debug for LocalExecutionProgress
Source§impl<'de> Deserialize<'de> for LocalExecutionProgress
impl<'de> Deserialize<'de> for LocalExecutionProgress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for LocalExecutionProgress
impl RefUnwindSafe for LocalExecutionProgress
impl Send for LocalExecutionProgress
impl Sync for LocalExecutionProgress
impl Unpin for LocalExecutionProgress
impl UnsafeUnpin for LocalExecutionProgress
impl UnwindSafe for LocalExecutionProgress
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].