pub struct SessionFusionCompletedData {Show 18 fields
pub cached_tokens: i64,
pub cache_write_tokens: Option<i64>,
pub commit_id: String,
pub degraded_reason: Option<String>,
pub duration_ms: f64,
pub final_source_model: Option<String>,
pub final_source_phase_id: Option<String>,
pub follow_up_model: String,
pub fusion_id: String,
pub input_tokens: i64,
pub outcome: String,
pub output_tokens: i64,
pub pattern: FusionPattern,
pub phase_count: i64,
pub request_count: i64,
pub synthetic_model: String,
pub total_nano_aiu: f64,
pub turn_id: String,
}Expand description
Session event “session.fusion_completed”. Experimental durable aggregate outcome of a HydraFusion turn.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§cached_tokens: i64Total cached input tokens reported across all phases.
cache_write_tokens: Option<i64>Total tokens written to prompt cache across all phases.
commit_id: StringIdempotency identifier for the authoritative final commit.
degraded_reason: Option<String>Reason the turn used a degraded route, when applicable.
duration_ms: f64Total elapsed execution time for the HydraFusion turn in milliseconds.
final_source_model: Option<String>Concrete model that supplied the authoritative final content.
final_source_phase_id: Option<String>Phase whose output supplied the authoritative final content.
follow_up_model: StringConcrete model recommended for eligible follow-up turns.
fusion_id: StringStable identifier for the completed HydraFusion turn.
input_tokens: i64Total input tokens consumed across all phases.
outcome: StringStable aggregate outcome of the HydraFusion turn.
output_tokens: i64Total output tokens produced across all phases.
pattern: FusionPatternHydraFusion orchestration pattern executed for the turn.
phase_count: i64Number of concrete phases attempted by the turn.
request_count: i64Total concrete model requests made across all phases.
synthetic_model: StringSynthetic HydraFusion model selected for the session.
total_nano_aiu: f64Total normalized AI-unit cost reported across all phases, in nano-AIU.
turn_id: StringIdentifier of the session turn associated with the completion.
Trait Implementations§
Source§impl Clone for SessionFusionCompletedData
impl Clone for SessionFusionCompletedData
Source§fn clone(&self) -> SessionFusionCompletedData
fn clone(&self) -> SessionFusionCompletedData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more