pub struct Resolution {
pub summary: String,
pub deviations: Vec<Deviation>,
pub commits: Vec<String>,
pub branches_explored: Vec<String>,
pub outcome: Outcome,
pub confidence: f64,
}Expand description
Filed when an intent reaches a terminal state. This is the structured report that answers: “what was accomplished?”
Fields§
§summary: StringConcise description of what was accomplished.
deviations: Vec<Deviation>Where/why the agent diverged from the original plan.
commits: Vec<String>Commit IDs of state changes made while fulfilling this intent.
branches_explored: Vec<String>Branches created during exploration.
outcome: OutcomeOverall outcome.
confidence: f64Agent’s self-assessed confidence in the result (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§impl Debug for Resolution
impl Debug for Resolution
Source§impl<'de> Deserialize<'de> for Resolution
impl<'de> Deserialize<'de> for Resolution
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Resolution
impl PartialEq for Resolution
Source§impl Serialize for Resolution
impl Serialize for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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