pub struct AgentResponseSummary {
pub session: String,
pub turn: String,
}Expand description
Structured session summary block emitted alongside protocol messages.
Session-discussion turns use this object instead of embedding the change
summary inside answer message text. One-shot prompts set the top-level
summary field to null.
Fields§
§session: StringCumulative summary of active changes on the current session branch.
turn: StringConcise summary of only the work completed in the current turn.
Trait Implementations§
Source§impl Clone for AgentResponseSummary
impl Clone for AgentResponseSummary
Source§fn clone(&self) -> AgentResponseSummary
fn clone(&self) -> AgentResponseSummary
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 moreSource§impl Debug for AgentResponseSummary
impl Debug for AgentResponseSummary
Source§impl<'de> Deserialize<'de> for AgentResponseSummary
impl<'de> Deserialize<'de> for AgentResponseSummary
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
impl Eq for AgentResponseSummary
Source§impl JsonSchema for AgentResponseSummary
impl JsonSchema for AgentResponseSummary
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AgentResponseSummary
impl PartialEq for AgentResponseSummary
Source§impl Serialize for AgentResponseSummary
impl Serialize for AgentResponseSummary
impl StructuralPartialEq for AgentResponseSummary
Auto Trait Implementations§
impl Freeze for AgentResponseSummary
impl RefUnwindSafe for AgentResponseSummary
impl Send for AgentResponseSummary
impl Sync for AgentResponseSummary
impl Unpin for AgentResponseSummary
impl UnsafeUnpin for AgentResponseSummary
impl UnwindSafe for AgentResponseSummary
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